Fits single-level and multilevel latent profile and class models, latent transition models, and mixture regression and growth models for studying unobserved heterogeneity. Supported measurement models accommodate continuous, categorical, ordinal, count and mixed indicators. Provides model comparison, parameter inference, classification diagnostics and graphical summaries, with additional methods for membership covariates, staged estimation and analyses of external variables that account for classification error. Observed-data likelihood methods are available for incomplete indicators, and supported transition models can be represented as networks using the 'tna' package. The multilevel latent class formulation follows Vermunt (2003) <doi:10.1111/j.0081-1750.2003.t01-1-00131.x>.
| Version: | 1.1.9 |
| Depends: | R (≥ 4.1.0) |
| Imports: | stats, grDevices, utils, parallel |
| Suggests: | testthat (≥ 3.0.0), knitr, rmarkdown, tna, mclust, mice, ggplot2, MASS, withr, numDeriv |
| Published: | 2026-11-01 |
| DOI: | 10.32614/CRAN.package.latents |
| Author: | Mohammed Saqr |
| Maintainer: | Mohammed Saqr <saqr at saqr.me> |
| BugReports: | https://github.com/mohsaqr/latents/issues |
| License: | GPL-3 |
| URL: | https://pak.dynasite.org/latents/, https://github.com/mohsaqr/latents |
| NeedsCompilation: | no |
| Materials: | README, NEWS |
| CRAN checks: | latents results |
| Reference manual: | latents.html , latents.pdf |
| Vignettes: |
Two-level latent class analysis (source, R code) Multilevel latent profile analysis (source, R code) |
| Package source: | latents_1.1.9.tar.gz |
| Windows binaries: | r-devel: latents_0.9.21.zip, r-release: latents_0.9.21.zip, r-oldrel: latents_0.9.21.zip |
| macOS binaries: | r-release (arm64): latents_1.1.9.tgz, r-oldrel (arm64): latents_1.1.9.tgz, r-release (x86_64): latents_1.1.9.tgz, r-oldrel (x86_64): latents_1.1.9.tgz |
| Old sources: | latents archive |
Please use the canonical form https://CRAN.R-project.org/package=latents to link to this page.