.prepare_args: Prepare input for ctree/cforest from input of pmtree/pmforest
Description
Prepare input for ctree/cforest from input of pmtree/pmforest
Usage
.prepare_args(model, data, zformula, control, ...)
Value
args to be passed to ctree/cforest.
Arguments
- model
model.
- data
an optional data frame.
- zformula
ormula describing which variable should be used for partitioning.
- control
ontrol parameters, see ctree_control.
- ...
other arguments.