brokenstick: Broken Stick Model for Irregular Longitudinal Data

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 <>.

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>
License: MIT + file LICENSE
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:, r-release:, r-oldrel:
macOS binaries: r-release: brokenstick_1.1.0.tgz, r-oldrel: brokenstick_1.1.0.tgz


Please use the canonical form to link to this page.