Package: lavDiag 0.1.0

Karel Rečka
lavDiag: Latent Variable Models Diagnostics
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.
Authors:
lavDiag_0.1.0.tar.gz
lavDiag_0.1.0.tar.gz(r-4.7-any)lavDiag_0.1.0.tar.gz(r-4.6-any)
lavDiag_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
lavDiag/json (API)
NEWS
| # Install 'lavDiag' in R: |
| install.packages('lavDiag', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/reckak/lavdiag/issues
Last updated from:aa4c6c8aa4. Checks:4 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 159 | ||
| source / vignettes | OK | 193 | ||
| linux-release-x86_64 | OK | 155 | ||
| wasm-release | OK | 128 |
Exports:augmenthopper_plotitem_dataitem_plotlavPredict_parallelmodel_infoparameter_estimatesplot_cfaprepareresid_corresid_corrplotresid_qq
Dependencies:base64encbslibcachemclicodetoolscorrplotcpp11digestdplyrevaluatefarverfastmapfontawesomefsfurrrfuturefuture.applygenericsggplot2ggrepelglobalsgluegtablehighrhtmltoolshtmlwidgetsigraphisobandjquerylibjsonliteknitrlabelinglatticelavaanlifecyclelistenvmagrittrMASSMatrixmemoisemgcvmimemnormtnlmenumDerivparallellypbivnormpillarpkgconfigpurrrquadprogR6rappdirsRColorBrewerRcpprlangrmarkdownS7sassscalesstringistringrtibbletidyrtidyselecttinytexutf8vctrsviridisLitevisNetworkwithrxfunyaml