dot-categorical2numeric: Transform categorical into numeric variables

.categorical2numericR Documentation

Transform categorical into numeric variables

Description

Internal function transform categorical variables in a data.frame into numeric variables. Mostly used with maxent which cannot read character

Usage

.categorical2numeric(df, categorical_var)

Arguments

df

data.frame to be transformed

categorical_var

the names of categorical variables in df

Value

a data.frame without categorical variables


biomod2 documentation built on June 22, 2024, 10:56 a.m.