create_crvar | R Documentation |
create_crvar(data, var, forcenum = FALSE)
data |
Data. |
var |
String containing variable that should be numeric and dummified. |
forcenum |
Should variables that are not character/factor be dummified? Default is FALSE. |
Data with a numeric xvars x levels - 1.
rs_data <- create_crvar(rs_data, "xvar_4_num", forcenum = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.