Created
February 26, 2015 23:02
-
-
Save tengpeng/43d37a089d538ab5b1c0 to your computer and use it in GitHub Desktop.
Convert multiple columns into factors
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
p143[1:2] = lapply(p143[1:2], as.factor) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment