rpart
.Defines the splitting function for a new splitting method of rpart
.
Not to be called directly by the user.
survs(y, wt, x, parms, continuous)
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.
the weight vector from the call, if any.
vector of x
values.
the vector or list (if any) supplied by the user as a
parms
argument to the call.
if TRUE the x
variable should be treated as continuous.
The value of this parameter is determined by rpart
automatically.
See reference.
https://cran.r-project.org/package=rpart/vignettes/usercode.pdf