ggsem: An R Package for Interactive and Reproducible Visualizations of Networks and Structural Equation Modeling Diagrams

CRAN_Release_Badge

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.

Why use ggsem for SEM Visualization?


Documentation & Examples

For detailed guides on multi-group workflows and interactive features, visit the official documentation: 👉 ggsem Documentation Website


Installation using RStudio

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()

Issues and contact

If you find any issues with ggsem (both application and package), please contact me via email (seung.min@mail.mcgill.ca).