survs: Defines the splitting function for a new splitting method of...

Description Usage Arguments Value References See Also

Description

Defines the splitting function for a new splitting method of rpart. Not to be called directly by the user.

Usage

1
survs(y, wt, x, parms, continuous)

Arguments

y

the response value as found in the formula that is passed in by rpart. Note that rpart will normally have removed any observations with a missing response.

wt

the weight vector from the call, if any.

x

vector of x values.

parms

the vector or list (if any) supplied by the user as a parms argument to the call.

continuous

if TRUE the x variable should be treated as continuous. The value of this parameter is determined by rpart automatically.

Value

See reference.

References

https://cran.r-project.org/package=rpart/vignettes/usercode.pdf

See Also

surve,survi


jlctree documentation built on April 15, 2021, 5:06 p.m.