MyNixOS website logo
Description

Shiny Application for Latent Structure Analysis with a Graphical User Interface.

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) <doi:10.21105/joss.00978>, LCA through 'poLCA' (Linzer & Lewis, 2011) <doi:10.32614/CRAN.package.poLCA> & 'glca' (Kim & Kim, 2024) <doi:10.32614/CRAN.package.glca>, LTA/IRT via 'mirt' (Chalmers, 2012) <doi:10.18637/jss.v048.i06>, and EFA via 'psych' (Revelle, 2025). SEM and CFA functionalities build upon the 'lavaan' framework (Rosseel, 2012) <doi:10.18637/jss.v048.i02>. Users can upload datasets or use built-in examples, fit models, compare fit indices, visualize results, and export outputs without programming.

projectLSA

CRANstatus CRANrelease Downloads TotalDownloads

R-CMD-check License:MIT Lifecycle:stable

projectLSA is an R package that provides a complete graphical user interface (GUI) for conducting Latent Structure Analysis (LSA) through a Shiny application. It integrates multiple latent variable methods, including:

  • Latent Profile Analysis (LPA)
  • Latent Class Analysis (LCA)
  • Latent Trait Analysis (LTA / IRT)
  • Exploratory Factor Analysis (EFA)
  • Confirmatory Factor Analysis (CFA)

All analyses can be performed without writing any code, making the package accessible for researchers, students, and applied analysts.


Installation

# Install from CRAN (when available)
install.packages("projectLSA")

# Install development version from GitHub (optional)
remotes::install_github("hdmeasure/projectLSA")

Launch the Application

library(projectLSA)
run_projectLSA()

This opens the full Shiny application, including all LSA modules, data upload, built-in datasets, interactive plots, and reporting features.


Video Tutorial

projectLSA – Installation and QuickStart

🎬 Click the image to watch the installation and quick-start tutorial for projectLSA.


Features

✔ Latent Profile Analysis (LPA)

  • Upload your own dataset or use built-in examples.
  • Fit multiple LPA models automatically.
  • Compare AIC, BIC, entropy, and class size.
  • Visualize the best model with customizable class names.

✔ Latent Class Analysis (LCA)

  • Supports categorical indicators.
  • Fits multiple class solutions.
  • Interactive plots with ggiraph.
  • Probability tables and class membership export.

✔ Latent Trait Analysis (LTA / IRT)

  • Supports dichotomous and polytomous items.
  • Automatically fits Rasch, 2PL, 3PL (or PCM/GRM/GPCM).
  • ICC plots, test information, factor scores.
  • Multi-dimensional visualization with 3D surfaces and heatmaps.

✔ Exploratory Factor Analysis (EFA)

  • KMO, Bartlett test, parallel analysis.
  • Factor extraction with rotation.
  • Factor scores and loading matrix export.
  • Clean HTML summaries for clearer interpretation.

✔ Confirmatory Factor Analysis (CFA)

  • Lavaan model editor.
  • Fit measures, loadings, factor scores.
  • Fully customized SEM path diagrams.

Live Demo (Shiny Application)

All features of projectLSA can be explored through an interactive Shiny web application.

👉 Launch the live application:
https://measure.shinyapps.io/ProjectLSA/

The web interface provides access to Latent Profile Analysis (LPA), Latent Class Analysis (LCA), Confirmatory Factor Analysis (CFA), Structural Equation Modeling (SEM), and Latent Trait Analysis (IRT), allowing users to explore the full workflow without local installation.


Citation

If you use projectLSA in publications, please cite:

Djidu, H., Retnawati, H., Hadi, S., & Haryanto (2026). projectLSA:Shiny application for latent structure analysis with a graphical user interface. https://doi.org/10.32614/CRAN.package.projectLSA


Contributing

Bug reports and feature requests are welcome:

https://github.com/hdmeasure/projectLSA/issues


License

MIT License © 2026 Hasan Djidu.

Metadata

Version

0.0.8

License

Unknown

Platforms (78)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    uefi
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-freebsd
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64-uefi
  • aarch64-windows
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-linux
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-uefi
  • x86_64-windows