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 see <https://stefvanbuuren.name/publications/2021_brokenstick_JSS_manuscript.pdf>.
Version: | 2.1.0 |
Depends: | R (≥ 3.5.0) |
Imports: | coda, dplyr, lme4, matrixsampling, methods, rlang, splines, stats, tidyr |
Suggests: | AGD, bookdown, ggplot2, grDevices, gridExtra, knitr, lattice, MASS, Matrix, mice, mvtnorm, plyr, svglite, testthat, rmarkdown |
Published: | 2022-03-30 |
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: |
Getting started Overview of main functions Help for old friends Check perfect model |
Package source: | brokenstick_2.1.0.tar.gz |
Windows binaries: | r-devel: brokenstick_2.1.0.zip, r-release: brokenstick_2.1.0.zip, r-oldrel: brokenstick_2.1.0.zip |
macOS binaries: | r-release (arm64): brokenstick_2.1.0.tgz, r-oldrel (arm64): brokenstick_2.1.0.tgz, r-release (x86_64): brokenstick_2.1.0.tgz, r-oldrel (x86_64): brokenstick_2.1.0.tgz |
Old sources: | brokenstick archive |
Please use the canonical form https://CRAN.R-project.org/package=brokenstick to link to this page.