Provides an interactive workflow for visualizing structural equation modeling (SEM), multi-group path diagrams, and network diagrams in R. Users can directly manipulate nodes and edges to create publication-quality figures while maintaining statistical model integrity. Supports integration with 'lavaan', 'OpenMx', 'tidySEM', and 'blavaan' etc. Features include parameter-based aesthetic mapping, generative AI assistance, and complete reproducibility by exporting metadata for script-based workflows.
ggsem is an R package designed for interactive and reproducible SEM visualization. It provides a dedicated environment for building, styling, and exploring path diagrams for structural equation modeling (SEM) and network analysis.
For detailed guides on multi-group workflows and interactive features, visit the official documentation: 👉 ggsem Documentation Website
Install the stable version of ggsem from CRAN:
# Optional: Install dependencies first
# install.packages(c("colourpicker", "DT", "DiagrammeR", "memoise", "shiny", "shinyjs", "smplot2", "svglite"), dependencies = TRUE)
install.packages("ggsem")
To launch the interactive app:
library(ggsem)
ggsem()
If you find any issues with ggsem (both application and package), please contact me via email ([email protected]).