| rpart.dist {mvpart} | R Documentation |
Set up for dist method for an rpart model.
rpart.dist(y, offset, parms, wt)
y |
the responses. |
offset |
an offset, or NULL. |
parms |
a list of parameters, usually empty. |
wt |
case weights – ignored. |
rpart.dist 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, |
summary |
a function to be invoked by summary.rpart, |
text |
a function to be invoked by text.rpart. |