splitt {TWIX}R Documentation

Internal function of TWIX.

Description

This function compute split-points and corresponding deviance gain.

Usage

splitt(sv, rsp, svrks = fullrks(sv), meth = "deviance",
    topn = 1, topn.meth = "complete", lstep = 1,
    test = FALSE, K = 0, level = 0)

Arguments

sv a numeric vector of predicted variable.
rsp response variable.
svrks a index vector of sv by sorting.
meth Which split points will be used?
This can be "deviance" (default), "grid" or "local".
topn a numeric vector. How many splits will be selected and at which level?
topn.meth one of "complete"(default) or "single".
lstep step parameter for method "grid".
test parameter for Devplot funcion.
K k-fold cross-validation.
level the maximum depth of the TWIX tree's.

[Package TWIX version 0.2.6 Index]