Arguments that are shared across functions
A tibble, data.frame, or matrix of covariates.
A vector of outcomes.
A vector of responses to predict.
A vector of treatments.
A vector of weights corresponding to treatment propensities.
A list of control parameters for the rpart algorithm.
See ? rpart.control for details.
An rpart object.
A party object.
Method for pruning the tree. Default is "none". Options
are "none", "min", and "1se". If "min", the
tree is pruned using the complexity threshold which minimizes the
cross-validation error. If "1se", the tree is pruned using the
largest complexity threshold which yields a cross-vaidation error within
one standard error of the minimum. If "none", the tree is not
pruned.
Method for pruning the tree. Default is "none".
Options are "none", "min", and "1se". If "min",
the tree is pruned using the complexity threshold which minimizes the
cross-validation error. If "1se", the tree is pruned using the
largest complexity threshold which yields a cross-vaidation error within
one standard error of the minimum. If "none", the tree is not
pruned.