Basic infrastructure for fitting extensible trees.
extree_fit(data, trafo, converged, selectfun = ctrl$selectfun, splitfun = ctrl$splitfun,
svselectfun = ctrl$svselectfun, svsplitfun = ctrl$svsplitfun, partyvars,
subset, weights, ctrl, doFit = TRUE)
An object of class partynode
.
an object of class extree_data
, see
extree_data
.
a function with arguments subset
, weights
,
info
, estfun
and object
.
a function with arguments subset
, weights
.
an optional function for selecting variables.
an optional function for selecting splits.
an optional function for selecting surrogate variables.
an optional function for selecting surrogate splits.
a numeric vector assigning a weight to each partitioning
variable (z
in extree_data
.
a sorted integer vector describing a subset.
an optional vector of weights.
control arguments.
a logical indicating if the tree shall be grown (TRUE
)
or not FALSE
.
This internal functionality will be the basis of implementations of other
tree algorithms in future versions. Currently, only ctree
relies on
this function.