Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
fct_recode() with vectors of length > 1 #56
Is this behavior intended? It's not documented in the examples.
fct_recode(letters, "vowel" = c("a", "e", "i", "o", "u")) ##  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 ## 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