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 July 9, 2023, 6:05 p.m.