causalTreeget model frame of causalTree, same as rpart
# S3 method for causalTree
model.frame(formula, ...)a model frame for causalTree.
a formula, with a response but no interaction terms. If this is a data frame, it is taken as the model frame (see model.frame).
arguments to rpart.control may also be
specified in the call to causalTree. They are checked against the
list of valid arguments. An example of a commonly set parameter would
be xval, which sets the number of cross-validation samples.
The parameter minsize is implemented differently in
causalTree than in rpart; we require a minimum of minsize
treated observations and a minimum of minsize control
observations in each leaf.