Package: lcsm Type: Package Title: Univariate and Bivariate Latent Change Score Modelling Date: 2026-07-28 Version: 0.3.3 Authors@R: c( person("Milan", "Wiedemann", email = "milan.wiedemann@gmail.com", role = c("aut", "cre"), comment = c(ORCID = "0000-0003-1991-282X")), person("Graham M", "Thew", role = "ctb", comment = c(ORCID = "0000-0003-2851-1315")), person("Urška", "Košir", role = "ctb", comment = c(ORCID = "0000-0003-2132-4090")), person("Anke", "Ehlers", role = c("ths"), comment = c(ORCID = "0000-0002-8742-0192")), person("Mental Health Research UK", role = c("fnd")) ) Description: 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) and Grimm, An, McArdle, Zonderman and Resnick (2012) . 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. Depends: R (>= 3.5.0) License: MIT + file LICENSE Encoding: UTF-8 URL: https://milanwiedemann.github.io/lcsm/ BugReports: https://github.com/milanwiedemann/lcsm/issues LazyData: true 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) Roxygen: list(markdown = TRUE) Suggests: testthat (>= 3.0.0), knitr (>= 1.22), rmarkdown (>= 1.12), shiny (>= 1.4.0) VignetteBuilder: knitr Config/testthat/edition: 3 Config/roxygen2/version: 8.0.0 Config/pak/sysreqs: cmake libglpk-dev make libicu-dev libjpeg-dev libpng-dev libuv1-dev libxml2-dev Repository: https://milanwiedemann.r-universe.dev Date/Publication: 2026-07-28 16:08:22 UTC RemoteUrl: https://github.com/milanwiedemann/lcsm RemoteRef: HEAD RemoteSha: 137d3b3f4100031930d6d4b11c07e70ab22b1daa NeedsCompilation: no Packaged: 2026-09-26 09:42:16 UTC; root Author: Milan Wiedemann [aut, cre] (ORCID: ), Graham M Thew [ctb] (ORCID: ), Urška Košir [ctb] (ORCID: ), Anke Ehlers [ths] (ORCID: ), Mental Health Research UK [fnd] Maintainer: Milan Wiedemann