# -------------------------------------------- # CITATION file created with {cffr} R package # See also: https://docs.ropensci.org/cffr/ # -------------------------------------------- cff-version: 1.2.0 message: 'To cite package "lavDiag" in publications use:' type: software license: MIT title: 'lavDiag: Latent Variable Models Diagnostics' version: 0.1.0 identifiers: - type: doi value: 10.32614/CRAN.package.lavDiag abstract: Diagnostics and visualization tools for latent variable models fitted with 'lavaan' (Rosseel, 2012 ). 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 ), and Q–Q checks of residual z-statistics (resid_qq()), optionally with non-overlapping labels from 'ggrepel' (Slowikowski, 2024 ). Heavy computations are parallelized via 'future'/'furrr' (Bengtsson, 2021 ; Vaughan and Dancho, 2018 ). Methods build on established literature and packages listed above. authors: - family-names: Rečka given-names: Karel email: reckak@mail.muni.cz preferred-citation: type: manual title: 'lavDiag: Latent Variable Models Diagnostics' authors: - family-names: Rečka given-names: Karel email: reckak@mail.muni.cz year: '2025' notes: R package version 0.1.0 url: https://github.com/reckak/lavDiag repository: https://cran.r-universe.dev repository-code: https://github.com/reckak/lavDiag commit: aa4c6c8aa48474aae601105280b07e4b62f1a521 url: https://github.com/reckak/lavDiag date-released: '2026-01-17' contact: - family-names: Rečka given-names: Karel email: reckak@mail.muni.cz