rpart.anova {rpart} | R Documentation |
Set up for anova
method for an rpart
model.
rpart.anova(y, offset, parms, wt)
y |
the responses. |
offset |
an offset, or NULL . |
parms |
a list of parameters, usually empty. |
wt |
case weights. |
rpart.anova
is to be used only by the function rpart
.
Returns a list consisting of
y |
(subtracting offset if necessary), |
parms |
as input, |
numresp |
the number of responses, here 1 , |
summary |
a function to be invoked by summary.rpart , |
text |
a function to be invoked by text.rpart . |