Learn R Programming

regressoR (version 2.0.1)

dt_model: dt_model

Description

generates a decision trees model.

Usage

dt_model(data, variable.pred, minsplit = 20, maxdepth = 15)

Arguments

data

dataframe

variable.pred

the name of the variable to be predicted.

minsplit

the minsplit parameter of the model.

maxdepth

the maxdepth parameter of the model.

See Also