lcsm: Univariate and Bivariate Latent Change Score Modelling

Helper functions to implement univariate and bivariate latent change score models in R using the 'lavaan' package. For details about Latent Change Score Modeling (LCSM) see McArdle (2009) <doi:10.1146/annurev.psych.60.110707.163612> and Grimm, An, McArdle, Zonderman and Resnick (2012) <doi:10.1080/10705511.2012.659627>. The package automatically generates 'lavaan' syntax for different model specifications and varying timepoints. The 'lavaan' syntax generated by this package can be returned and further specifications can be added manually. Longitudinal plots as well as simplified path diagrams can be created to visualise data and model specifications. Estimated model parameters and fit statistics can be extracted as data frames. Data for different univariate and bivariate LCSM can be simulated by specifying estimates for model parameters to explore their effects. This package combines the strengths of other R packages like 'lavaan', 'broom', and 'semPlot' by generating 'lavaan' syntax that helps these packages work together.

Version: 0.3.2
Depends: R (≥ 3.5.0)
Imports: lavaan (≥ 0.6.2), dplyr (≥ 0.7.4), tibble (≥ 1.4.2), magrittr (≥ 1.5), rlang (≥ 0.1.6), tidyr (≥ 0.8.0), ggplot2 (≥ 2.2.1), broom (≥ 0.5.1), semPlot (≥ 1.1), stats (≥ 3.5.2), stringr (≥ 1.4.0), purrr (≥ 0.3.4), cli
Suggests: testthat (≥ 3.0.0), knitr (≥ 1.22), rmarkdown (≥ 1.12), shiny (≥ 1.4.0)
Published: 2023-02-25
DOI: 10.32614/CRAN.package.lcsm
Author: Milan Wiedemann ORCID iD [aut, cre], Graham M Thew ORCID iD [ctb], Urška Košir ORCID iD [ctb], Anke Ehlers ORCID iD [ths], Mental Health Research UK [fnd]
Maintainer: Milan Wiedemann <milan.wiedemann at gmail.com>
BugReports: https://github.com/milanwiedemann/lcsm/issues
License: MIT + file LICENSE
URL: https://milanwiedemann.github.io/lcsm/
NeedsCompilation: no
Citation: lcsm citation info
Materials: README NEWS
CRAN checks: lcsm results

Documentation:

Reference manual: lcsm.pdf
Vignettes: lcsm-parameters
Visualise longitudinal data
Generate lavaan syntax for latent change score models
Create path diagrams to visualise model specifications
Parameter estimates and fit statistics of LCSMs
Simulate data to explore the effect of different parameters

Downloads:

Package source: lcsm_0.3.2.tar.gz
Windows binaries: r-devel: lcsm_0.3.2.zip, r-release: lcsm_0.3.2.zip, r-oldrel: lcsm_0.3.2.zip
macOS binaries: r-release (arm64): lcsm_0.3.2.tgz, r-oldrel (arm64): lcsm_0.3.2.tgz, r-release (x86_64): lcsm_0.3.2.tgz, r-oldrel (x86_64): lcsm_0.3.2.tgz
Old sources: lcsm archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=lcsm to link to this page.