Description Usage Arguments Value
reg_tree
fit robust regression tree based on weighted median splitting rule.
1 | reg_tree_imp(formula, data, minsize, weights)
|
formula |
an object of class "formula". |
data |
a training data frame. |
minsize |
minimal leaf size of tree. Default is 5. |
weights |
an optional vector of weights. |
a list of components
tree - tree information.
fit - estimation method.
formula - an object of class "formula".
importance - vector of importance level.
data - a training data frame.
pred - prediction of newdata.
nodepred - leaf node prediction.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.