rpart.mrt {mvpart}R Documentation

Set up for ‘mrt’ Method for an Rpart Model

Description

Set up for mrt method for an rpart model.

Usage

rpart.mrt(y, offset, parms, wt)

Arguments

y the responses.
offset an offset, or NULL.
parms a list of parameters, usually empty.
wt case weights.

Details

rpart.mrt is to be used only by the function rpart.

Value

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.
bar a function to be invoked by text.rpart.

[Package mvpart version 1.2-6 Index]