View source: R/catInteraction.R
addCatVar | R Documentation |
Add dummy vars to data.frame
addCatVar(df, varname)
df |
A data.frame |
varname |
Variable name to be converted as factor and add dummies |
addCatVar(mtcars,"cyl")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.