Wrapper for split function required for the random forest functionality. This function is called once per covariate at each potential split. Implements the random selection of variables; each variable is randomly selected to be included or excluded.
splineforest_split(y, wt, x, parms = NULL, continuous)
the responses at this node
the weight of the responses
the X data for this covariate
the basis matrix for the spline and the proportion of variables randomly sampled (diceProb)
value is handled internally by rpart - tells us if this covariate is continuous or categorical (factor).