Longitudinal Regression Trees and Forests
Compute the average tree size in a forest
Flattens predictor variable data into one row per person
Get the basis matrix to be used for this spline tree
Retrieve the subset of the data found at a given terminal node
Get spline coefficients for a single person
Plots the trajectories of each terminal node side by side.
Create a barplot of relative variable importance scores.
Plot the predicted trajectory for a single node
Predict responses for the training data
Predict spline coefficients for a testset using a spline tree
Predict spline coefficients for a testset using a splineforest.
Predictions from a spline tree
Predict responses for a testset using a splineforest.
Computes percent of variation in projected response explained by a spl...
Computes a level-based or shape-based evaluation metric for a splinefo...
Prune each tree in forest using a given complexity parameter.
Calculates coordinates for tree plot
Create a faceted spaghetti plot of a splinetree model
Custom rpart eval function.
Custom rpart init function
Custom rpart split function.
Build a spline random forest.
Custom rpart split function for spline random forests
Build a splinetree model.
Creates a tree plot of a spline tree.
Plots a splinetree.
Print a spline tree in the style of print.rpart
Prints a summary of a terminal node in a tree
Given a list of node numbers, returns the depth at which these appear ...
Returns a measure of how similar the two trees are.
Returns number of terminal nodes in a tree.
Returns the tree frame.
Random Forest Variable Importance based on spline coefficients
Random Forest Variable Importance based on Y
Computes percent of variation in response explained by spline tree.
Computes a level-based evaluation metric for a splineforest that was b...
Builds regression trees and random forests for longitudinal or functional data using a spline projection method. Implements and extends the work of Yu and Lambert (1999) <doi:10.1080/10618600.1999.10474847>. This method allows trees and forests to be built while considering either level and shape or only shape of response trajectories.
Useful links