Is this behavior intended? It's not documented in the examples.
fct_recode(letters, "vowel" = c("a", "e", "i", "o", "u"))
## [1] vowel1 b c d vowel2 f g h vowel3 j k l
## [13] m n vowel4 p q r s t vowel5 v w x
## [25] y z
## Levels: vowel1 b c d vowel2 f g h vowel3 j k l m n vowel4 p q r s t vowel5 v w x y z
If not, we should warn/throw, and perhaps direct the user to fct_collapse().
Is this behavior intended? It's not documented in the examples.
If not, we should warn/throw, and perhaps direct the user to
fct_collapse().