This function allows you to convert a select few features in a dataframe to factors.
1 | listToFactors(df, col_names1)
|
df |
dataframe with numeric, non-categorical data. |
col_names1 |
feature names to convert into factors |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.