.categorical2numeric | R Documentation |
Internal function transform categorical variables in a data.frame into numeric variables. Mostly used with maxent which cannot read character
.categorical2numeric(df, categorical_var)
df |
data.frame to be transformed |
categorical_var |
the names of categorical variables in df |
a data.frame without categorical variables
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.