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) <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.
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)
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
NeedsCompilation: no
Packaged: 2026-07-28 15:15:21 UTC; milanwiedemann
Author: Milan Wiedemann [aut, cre] (ORCID:
    <https://orcid.org/0000-0003-1991-282X>),
  Graham M Thew [ctb] (ORCID: <https://orcid.org/0000-0003-2851-1315>),
  Urška Košir [ctb] (ORCID: <https://orcid.org/0000-0003-2132-4090>),
  Anke Ehlers [ths] (ORCID: <https://orcid.org/0000-0002-8742-0192>),
  Mental Health Research UK [fnd]
Maintainer: Milan Wiedemann <milan.wiedemann@gmail.com>
Repository: CRAN
Date/Publication: 2026-07-28 15:40:02 UTC
Built: R 4.6.1; ; 2026-07-28 19:00:41 UTC; unix
