char2fct | R Documentation |
Provided a vector of variable names this function converts any character variables into factors. Has no affect on numeric or existing factor variables
char2fct(data, vars = NULL)
data |
A data.frame |
vars |
a character vector of variables in |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.