Longitudinal Regression Trees and Forests
Overview
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.
This is a minor release. The following changes were made:
- Modified the method of plotting trajectories for trees built without an intercept. Previously, the intercept-less trajectories were shifted by the average individual baseline response to put them in the range of reasonable response values. This is inappropriate when the "baseline" does not correspond to a value of 0 of the time variable. Now, average individual estimated intercept coefficients are used instead.
- Eliminated redundant information return by a call to splineForest. Previously, individual smoothing coefficients were in the named attribute Ydata even though they are also included in the named attribute flat_data. The named attribute Ydata no longer exists.
- Fixed an issue with node labeling in the "spaghettiPlot" function. Now the panel labels match the node labels in the tree printout.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK13 OK2026-05-02
Show 2 earlier changesHide 2 earlier changes
- ERROR11 OK, 1 ERROR2026-04-25
- OK14 OK2026-03-10
Documentation
- Help pages
- 40 (14 internal)
- Examples that run
- 83%20 run in a plain check · 4 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 86%
- Documented parameters
- 100%
- Return-value docs
- 71%
- Help pages citing references
- 0%
Downloads
Repository
Stars over time
5 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/anna-neufeld/splinetree on 2026-10-18.
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 0.2.0Latest
- RR 3.6.0 released · 2019-04-26
- 0.1.12019-01-07 · diff ↗
- 0.1.02018-09-25
- RR 3.5.0 released · 2018-04-23
Package metadata
- First published
- 2018-09-25
- Total releases
- 3 / 8 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 2.2 MB / 5 files
- Download size
- 2.6 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("splinetree")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.