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.