nlpsem: Nonlinear Longitudinal Process in Structural Equation Modeling

Provides computational tools for nonlinear longitudinal models, in particular the intrinsically nonlinear models, in four scenarios: (1) univariate longitudinal processes with growth factors, with or without covariates including time-invariant covariates (TICs) and time-varying covariates (TVCs); (2) multivariate longitudinal processes that facilitate the assessment of associations and directional relationships between multiple longitudinal variables; (3) multiple-group models for scenarios (1) and (2) to evaluate differences among manifested groups, and (4) longitudinal mixture models for scenarios (1) and (2), with an assumption that trajectories are from multiple latent classes. Data can also be simulated from these models with the generating parameter values attached. The methods implemented are introduced in Liu (2025) <doi:10.3758/s13428-025-02596-4>.

Version: 1.0.0
Depends: R (≥ 4.0.0), OpenMx (≥ 2.21.8)
Imports: ggplot2, dplyr, tidyr, stringr, Matrix, nnet, methods, grDevices, graphics, stats, utils, rlang (≥ 0.4.0)
Suggests: testthat (≥ 3.2.0), knitr, rmarkdown
Published: 2026-11-02
DOI: 10.32614/CRAN.package.nlpsem
Author: Jin Liu ORCID iD [aut, cre]
Maintainer: Jin Liu <Veronica.Liu0206 at gmail.com>
BugReports: https://github.com/Veronica0206/nlpsem/issues
License: GPL (≥ 3)
URL: https://github.com/Veronica0206/nlpsem
NeedsCompilation: no
Citation: nlpsem citation info
Materials: README, NEWS
CRAN checks: nlpsem results

Documentation:

Reference manual: nlpsem.html , nlpsem.pdf
Vignettes: Working with fitted nlpsem models (source, R code)
Examples of Latent Change Score Models (source, R code)
Examples of Latent Growth Curve Models (source, R code)
Examples of Multivariate Longitudinal Models (source, R code)
Multiple-group Longitudinal Models (source, R code)
Examples of Longitudinal Mixture Models (source, R code)
Examples of Longitudinal Mediation Models (source, R code)
Examples of Longitudinal Models with Time-varying Covariates (source, R code)
Introduction to nlpsem (source, R code)

Downloads:

Package source: nlpsem_1.0.0.tar.gz
Windows binaries: r-devel: nlpsem_0.4.zip, r-release: nlpsem_0.4.zip, r-oldrel: nlpsem_0.4.zip
macOS binaries: r-release (arm64): nlpsem_0.4.tgz, r-oldrel (arm64): nlpsem_1.0.0.tgz, r-release (x86_64): nlpsem_1.0.0.tgz, r-oldrel (x86_64): nlpsem_1.0.0.tgz
Old sources: nlpsem archive

Linking:

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