.categorical2numeric {biomod2} | 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