CRAN/E | lcsm

lcsm

Univariate and Bivariate Latent Change Score Modelling

Installation

About

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.

Citation lcsm citation info
milanwiedemann.github.io/lcsm/
Bug report File report

Key Metrics

Version 0.3.2
R ≥ 3.5.0
Published 2023-02-25 434 days ago
Needs compilation? no
License MIT
License File
CRAN checks lcsm results

Downloads

Yesterday 11 +10%
Last 7 days 83 -15%
Last 30 days 339 -26%
Last 90 days 1.162 -17%
Last 365 days 4.920 -5%

Maintainer

Maintainer

Milan Wiedemann

milan.wiedemann@gmail.com

Authors

Milan Wiedemann

aut / cre

Graham M Thew

ctb

Urška Košir

ctb

Anke Ehlers

ths

Mental Health Research UK

fnd

Material

README
NEWS
Reference manual
Package source

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

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

lcsm archive

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