milanwiedemann/lcstools: lcsm: An R Package for Latent Change Score Modeling

Helper functions to implement univariate and bivariate latent change score models (LCSM) in R using the lavaan package. The package generates lavaan syntax for different model specifications and varying timepoints. The lavaan syntax generated by the 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. Longitudinal plots help to visualise data and simplified path diagrams illustrate the selected model specifications. Estimated model parameters and fit statistics can be extracted as dataframes. Data for different univariate and bivariate LCSM can be simulated by specifying estimates for model parameters to explore the effects of different parameters. This package combines the strengths of other R packages like lavaan, broom, and semPlot by generating lavaan syntax that helps these packages work together.

Getting started

Package details

Maintainer
LicenseGPL-3
Version0.0.8
URL https://milanwiedemann.github.io/lcsm/
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("milanwiedemann/lcstools")
milanwiedemann/lcstools documentation built on May 22, 2020, 11:44 p.m.