Package: projectLSA Title: Shiny Application for Latent Structure Analysis with a Graphical User Interface Version: 0.2.0 Date: 2026-10-23 Authors@R: c( person( given = "Hasan", family = "Djidu", email = "hasandjidu@gmail.com", role = c("aut", "cre"), comment = c(ORCID = "0000-0003-1110-6815") ), person( given = "Heri", family = "Retnawati", role = "ctb", comment = c(ORCID = "0000-0002-1792-5873") ), person( given = "Samsul", family = "Hadi", role = "ctb", comment = c(ORCID = "0000-0003-3437-2542") ), person( given = "Haryanto", family = "", role = "ctb", comment = c(ORCID = "0000-0003-3322-904X") ) ) Description: Provides an interactive Shiny-based toolkit for conducting latent structure analyses, including Latent Profile Analysis (LPA), Latent Class Analysis (LCA), Latent Trait Analysis (LTA/IRT), Exploratory Factor Analysis (EFA), Confirmatory Factor Analysis (CFA), and Structural Equation Modeling (SEM). The implementation is grounded in established methodological frameworks: LPA is supported through 'tidyLPA' (Rosenberg et al., 2018) , LCA through 'poLCA' (Linzer & Lewis, 2011) & 'glca' (Kim & Kim, 2024) , LTA/IRT via 'mirt' (Chalmers, 2012) , and EFA via 'psych' (Revelle, 2025). SEM and CFA functionalities build upon the 'lavaan' framework (Rosseel, 2012) . The CFA/SEM module additionally supports multi-group invariance testing, latent growth modelling, ordinal indicators estimated from polychoric correlations, modification indices, and path diagram visualisation. Every module can save and restore an analysis session and export an 'R Markdown' HTML report whose sections can be drafted with an optional AI assistant. The assistant interprets the current results through one or several large language models reached with user-supplied API keys, including providers with a free tier. The application runs in a responsive HTML interface. Users can upload datasets or use built-in examples, fit models, compare fit indices, visualize results, and export outputs without programming. License: MIT + file LICENSE Depends: R (>= 4.0.0) Encoding: UTF-8 Imports: shinyBS, colourpicker, curl, data.table, dplyr, DT, flextable, ggiraph, ggplot2, glca, haven, jsonlite, kableExtra, knitr, lavaan, magick, mclust, mirt, nnet, officer, plotly, poLCA, psych, purrr, readr, readxl, rlang, rmarkdown, scales, semPlot, semptools, shiny, shinycssloaders, shinyWidgets, stats, stringr, tibble, tidyr, tidyLPA, viridisLite, writexl Suggests: pdftools, pkgdown, semTools, testthat (>= 3.0.0) Roxygen: list(markdown = TRUE) VignetteBuilder: knitr URL: https://github.com/hdmeasure/projectLSA BugReports: https://github.com/hdmeasure/projectLSA/issues Config/roxygen2/version: 8.0.0 Config/testthat/edition: 3 Config/pak/sysreqs: libcairo2-dev cmake libfontconfig1-dev libfreetype6-dev libfribidi-dev libglpk-dev make libharfbuzz-dev libmagick++-dev gsfonts texlive libicu-dev libjpeg-dev libpng-dev libtiff-dev libuv1-dev libwebp-dev libxml2-dev libssl-dev libx11-dev zlib1g-dev Repository: https://hdmeasure.r-universe.dev Date/Publication: 2026-10-23 00:46:01 UTC RemoteUrl: https://github.com/hdmeasure/projectlsa RemoteRef: HEAD RemoteSha: 7d4beb709f1b034b8618d280c6f04d5359047586 NeedsCompilation: no Packaged: 2026-10-23 01:51:51 UTC; root Author: Hasan Djidu [aut, cre] (ORCID: ), Heri Retnawati [ctb] (ORCID: ), Samsul Hadi [ctb] (ORCID: ), Haryanto [ctb] (ORCID: ) Maintainer: Hasan Djidu