The broken stick model describes a set of individual curves by a linear mixed model using a second-order linear B-spline. The main use of the model is to align irregularly observed data to a user-specified grid of break ages. All fitting can done in the Z-score scale, so non-linearity and irregular data can be treated as separate problems. This package contains functions for fitting a broken stick model to data, for predicting broken stick curves in new data, and for plotting the broken stick estimates. For additional documentation on background, methodology and applications of the broken stick model see <https://stefvanbuuren.name/publications/2020_Brokenstick_JSS_manuscript.pdf>.
Version: | 1.1.0 |
Depends: | R (≥ 3.5.0) |
Imports: | dplyr, lme4, matrixsampling, methods, rlang, splines, stats, tidyr |
Suggests: | AGD, ggplot2, grDevices, gridExtra, knitr, lattice, MASS, Matrix, mice, mvtnorm, plyr, svglite, testthat, rmarkdown |
Published: | 2020-11-02 |
Author: | Stef van Buuren [aut, cre] |
Maintainer: | Stef van Buuren <stef.vanbuuren at tno.nl> |
BugReports: | https://github.com/growthcharts/brokenstick/issues |
License: | MIT + file LICENSE |
URL: | https://github.com/growthcharts/brokenstick, https://growthcharts.org/brokenstick/ |
NeedsCompilation: | no |
Citation: | brokenstick citation info |
Materials: | README NEWS |
CRAN checks: | brokenstick results |
Reference manual: | brokenstick.pdf |
Vignettes: |
Broken Stick Model for Irregular Longitudinal Data Getting started Overview of main functions Help for old friends Check perfect model |
Package source: | brokenstick_1.1.0.tar.gz |
Windows binaries: | r-devel: brokenstick_1.1.0.zip, r-release: brokenstick_1.1.0.zip, r-oldrel: brokenstick_1.1.0.zip |
macOS binaries: | r-release: brokenstick_1.1.0.tgz, r-oldrel: brokenstick_1.1.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=brokenstick to link to this page.