Tidy Structural Equation Modeling
Overview
A tidy workflow for generating, estimating, reporting, and plotting structural equation models using 'lavaan', 'OpenMx', or 'Mplus'. Throughout this workflow, elements of syntax, results, and graphs are represented as 'tidy' data, making them easy to customize. Includes functionality to estimate latent class analyses, and to plot 'dagitty' and 'igraph' objects.
Install
Health
- OK13 OK2026-08-26
- NOTE8 OK, 5 NOTE2026-08-02
- ERROR10 OK, 2 NOTE, 1 ERROR2026-07-17
- NOTE11 OK, 2 NOTE2026-07-16
- OK13 OK2026-06-09
Show 5 earlier changesHide 5 earlier changes
- ERROR12 OK, 1 ERROR2026-06-08
- OK12 OK2026-04-25
- NOTE13 OK, 1 NOTE2026-03-30
- ERROR12 OK, 1 NOTE, 1 ERROR2026-03-28
- NOTE13 OK, 1 NOTE2026-03-10
Documentation
- Help pages
- 79 (5 internal)
- Examples that run
- 76%52 run in a plain check (8 of them under a condition) · 16 never run
- Exported functions with examples
- 94%
- Documented parameters
- 98%
- Return-value docs
- 99%
- Help pages citing references
- 23%
- Confirmatory LPA for the Caregiver Compass HTML
- Exploratory LPA for Ocean Microplastics HTML
- Generating syntax for structural equation models HTML
- Latent Class Analysis for Ordinal Indicators HTML
- Latent Class Growth Analysis HTML
- Mixed Data LCA HTML
- Ordinal Indicators in OpenMx Models HTML
- Plotting graphs for structural equation models HTML
- SEM graphing conventions HTML
- SMART-LCA Checklist HTML
Show 2 moreHide 2 vignettes
Downloads
Repository
- PRs merged (all time)
- 78%
- Median days to close, 50 most recently updated closed issues
- 14
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
Commit identities over time
11 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/cjvanlissa/tidysem on 2026-10-22.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-10-11 · The repository has a site deploy workflow
pkgdown site last built 2026-10-11
Show all practicesHide 2 practices
Dependencies
Installing tidySEM adds 101 packages (51 with compiled code, 87 MB of source tarballs). Heaviest: stringi 11 MB, MplusAutomation 7.5 MB, ggplot2 6.0 MB.
Code & Tests
Datasets
People & History
Show 3 peopleHide 3 people
Pick two releases to compare their code metrics.
- 0.2.12Latest
- 0.2.11
- RR 4.6.0 released · 2026-04-24
- 0.2.10
- 0.2.9
- RR 4.5.0 released · 2025-04-11
- 0.2.82025-03-04 · diff ↗
- 0.2.7
- RR 4.4.0 released · 2024-04-24
- 0.2.62023-10-24 · diff ↗
- 0.2.52023-10-10 · diff ↗
- 0.2.42023-05-01 · diff ↗ ·
added 7 exports
ic_weights, lr_lmr, lr_test, mx_dummies, mx_switch_labels, plot_growth, wald_test - RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 0.2.32022-04-14 · diff ↗
- 0.2.22022-04-06 · diff ↗
Show 13 earlier eventsHide 13 earlier events
- unarchivedReturned to CRAN2022-02-09
- 0.2.1
- archivedRemoved from CRAN2022-01-31check problems were not corrected in time
- 0.2.02021-11-16 · diff ↗ ·
added 7 exports
BCH, BLRT, class_prob, plot_bivariate, plot_density, plot_profiles, table_fit - 0.1.102021-07-13 · diff ↗ ·
added 10 exports
as_ram, get_fit, lsub, mixture_starts, mx_growth_mixture, mx_mixture, mx_profiles, paste2, run_lavaan, run_mx - RR 4.1.0 released · 2021-05-18
- 0.1.92021-04-20 · diff ↗
- 0.1.82021-03-14 · diff ↗
- 0.1.72021-03-11 · diff ↗ ·
added 398 exports
all_cov, all_fixed, all_fixed_edges, all_fixed_nodes, all_latent, all_load, all_neg, all_neg_edges, all_neg_nodes, all_nonsig, all_nonsig_edges, all_nonsig_nodes, all_obs, all_pos, all_pos_edges, all_pos_nodes, all_reg, all_sig, all_sig_edges, all_sig_nodes, all_var, alpha_cov, alpha_fixed, alpha_fixed_edges, alpha_fixed_nodes, alpha_latent, alpha_load, alpha_neg, alpha_neg_edges, alpha_neg_nodes and 368 more - 0.1.62021-02-19 · diff ↗
- 0.1.32020-10-09 · diff ↗
- 0.1.22020-06-25
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2020-06-25
- Total releases
- 20 / 6 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 4.0.0
- Bundled data
- 420 KB / 7 files
- Download size
- 9.5 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("tidySEM")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.