factorize | R Documentation |
Convert variables to factors as necessary
factorize(x, frloc, char.only = FALSE)
x |
a formula |
frloc |
a data frame |
char.only |
(logical) convert only character variables to factors? |
a copy of the data frame with factors converted
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.