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


biomodhub/biomod2 documentation built on April 30, 2024, 2:32 a.m.