rpart-internal {itree}R Documentation

Internal Functions

Description

Internal functions, only used by packages rpart and ipred.

Usage

pred.rpart(fit, x) 
itree.anova(y, offset, parms, wt)
itree.class(y, offset, parms, wt)
itree.matrix(frame)
itree.class_purity(y, offset, parms, wt)
itree.class_extremes(y, offset, parms, wt)
itree.regression_purity(y, offset, parms, wt)
itree.regression_extremes(y, offset, parms, wt)

Arguments

fit

a tree fitted by itree.

x

a matrix of predictors.

y

the responses.

offset

an offset, or NULL.

parms

a list of parameters, usually empty.

wt

case weights.

frame

model frame (from call to itree)

Value

itree.anova, itree.class, itree.exp, itree.class_purity,itree.class_extremes, itree.regression_purity, itree.regression_extremes, itree.poisson return a list with components

y

(adjusting for offset if necessary),

parms

as input,

numresp

the number of responses,

summary

a function to be invoked by summary.itree,

text

a function to be invoked by text.itree.


[Package itree version 0.1 Index]