Spline Trees

splineTree()

Build a splinetree model.

stPrint()

Print a spline tree in the style of print.rpart

treeSummary()

Returns the tree frame.

predictCoeffs()

Predict spline coefficients for a testset using a spline tree

predictY()

Predictions from a spline tree

projectedR2()

Computes percent of variation in projected response explained by a splinetree.

yR2()

Computes percent of variation in response explained by spline tree.

treeSimilarity()

Returns a measure of how similar the two trees are.

treeSize()

Returns number of terminal nodes in a tree.

getNodeData()

Retrieve the subset of the data found at a given terminal node

terminalNodeSummary()

Prints a summary of a terminal node in a tree

Plotting

stPlot()

Plots a splinetree.

splineTreePlot()

Creates a tree plot of a spline tree.

nodePlot()

Plots the trajectories of each terminal node side by side.

spaghettiPlot()

Create a faceted spaghetti plot of a splinetree model

plotNode()

Plot the predicted trajectory for a single node

Spline Forests

splineForest()

Build a spline random forest.

avSize()

Compute the average tree size in a forest

pruneForest()

Prune each tree in forest using a given complexity parameter.

predictCoeffsForest()

Predict spline coefficients for a testset using a splineforest.

predictYForest()

Predict responses for a testset using a splineforest.

projectedR2Forest()

Computes a level-based or shape-based evaluation metric for a splineforest.

yR2Forest()

Computes a level-based evaluation metric for a splineforest that was built WITH an intercept.

varImpCoeff()

Random Forest Variable Importance based on spline coefficients

varImpY()

Random Forest Variable Importance based on Y

plotImp()

Create a barplot of relative variable importance scores.