Other packages > Find by keyword >

lavDiag  

Latent Variable Models Diagnostics
View on CRAN: Click here


Download and install lavDiag package within the R console
Install from CRAN:
install.packages("lavDiag")

Install from Github:
library("remotes")
install_github("cran/lavDiag")

Install by package version:
library("remotes")
install_version("lavDiag", "0.1.0")



Attach the package and use:
library("lavDiag")
Maintained by
Karel Rečka
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2026-01-17
Latest Update: 2026-01-17
Description:
Diagnostics and visualization tools for latent variable models fitted with 'lavaan' (Rosseel, 2012 <doi:10.18637/jss.v048.i02>). The package provides fast, parallel-safe factor-score prediction (lavPredict_parallel()), data augmentation with model predictions, residuals, delta-method standard errors and confidence intervals (augment()), and model-based latent grids for continuous, ordinal, or mixed indicators (prepare()). It offers item-level empirical versus model curve comparison using generalized additive models for both continuous and ordinal indicators (item_data(), item_plot()) via 'mgcv' (Wood, 2017, ISBN:9781498728331), residual diagnostics including residual correlation tables and plots (resid_cor(), resid_corrplot()) using 'corrplot' (Wei and Simko, 2021 <https://github.com/taiyun/corrplot>), and Q–Q checks of residual z-statistics (resid_qq()), optionally with non-overlapping labels from 'ggrepel' (Slowikowski, 2024 <https://CRAN.R-project.org/package=ggrepel>). Heavy computations are parallelized via 'future'/'furrr' (Bengtsson, 2021 <doi:10.32614/RJ-2021-048>; Vaughan and Dancho, 2018 <https://CRAN.R-project.org/package=furrr>). Methods build on established literature and packages listed above.
How to cite:
Karel Rečka (2026). lavDiag: Latent Variable Models Diagnostics. R package version 0.1.0, https://cran.r-project.org/web/packages/lavDiag. Accessed 24 Oct. 2026.
Previous versions and publish date:
(2026-07-09 07:52), 0.1.0 (2026-01-17 12:50)
Other packages that cited lavDiag R package
View lavDiag citation profile
Other R packages that lavDiag depends, imports, suggests or enhances
Complete documentation for lavDiag
Functions, R codes and Examples using the lavDiag R package
Full lavDiag package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

extlasso  
Maximum Penalized Likelihood Estimation with Extended Lasso Penalty
Estimates coefficients of extended LASSO penalized linear regression and generalized linear models. ...
Download / Learn more Package Citations See dependency  
funprog  
Functional Programming
High-order functions for data manipulation : sort or group data, given one or more auxiliary func ...
Download / Learn more Package Citations See dependency  
r3PG  
Simulating Forest Growth using the 3-PG Model
Provides a flexible and easy-to-use interface for the Physiological Processes Predicting Growth (3-P ...
Download / Learn more Package Citations See dependency  
visdat  
Preliminary Visualisation of Data
Create preliminary exploratory data visualisations of an entire dataset to identify problems or une ...
Download / Learn more Package Citations See dependency  
RcmdrPlugin.depthTools  
R Commander Depth Tools Plug-in
We provide an Rcmdr plug-in based on the depthTools package, which implements different robust stat ...
Download / Learn more Package Citations See dependency  
OOBCurve  
Out of Bag Learning Curve
Provides functions to calculate the out-of-bag learning curve for random forests for any measure tha ...
Download / Learn more Package Citations See dependency  

29,218

R Packages

247,686

Dependencies

77,281

Author Associations

29,081

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA