You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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().
The text was updated successfully, but these errors were encountered:
Yeah, the help pages of fct_recode() and fct_collapse() could use some love. I'm not sure if the error message should mention this -- only if fct_collapse() is the only possible interpretation of the user's intention.
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()
.The text was updated successfully, but these errors were encountered: