dt_model

0th

Percentile

dt_model

generates the code to create the decision trees model.

Usage
dt_model(data = "datos.aprendizaje", variable.pred = NULL,
  model.var = "modelo.dt", minsplit = 20, maxdepth = 15)
Arguments
data

the name of the learning data.

variable.pred

the name of the variable to be predicted.

model.var

the name of the variable that stores the resulting model.

minsplit

the minsplit parameter of the model.

maxdepth

the maxdepth parameter of the model.

See Also

rpart

Aliases
  • dt_model
Examples
# NOT RUN {
library(rpart)

x <- dt_model('iris', 'Petal.Length')
exe(x)
print(modelo.dt)

# }
Documentation reproduced from package regressoR, version 1.1.7, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.