Description Usage Arguments Value Author(s)
View source: R/safe_factorize.R
If you have a formula with as.factor(var) in it, this function will create a new column with the factor version of var with a column called as.factor(var). Uses model.frame
1 |
formula |
an R formula |
data |
a data.frame |
data, with (maybe) some extra columns
David L Miller
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.