Crandore Hub

rmedsem

Statistical Mediation Analysis for SEMs

Conducts mediation analysis for structural equation models (SEM) estimated with 'lavaan', 'blavaan', 'cSEM', or 'modsem'. Implements the Baron and Kenny (1986) <doi:10.1037/0022-3514.51.6.1173> and Zhao, Lynch & Chen (2010) <doi:10.1086/651257> approaches to determine the presence and type of mediation. Supports covariance-based SEM, partial least squares SEM, Bayesian SEM, and moderated mediation models. Reports indirect effects with standard errors from Sobel, Delta, Monte-Carlo, and bootstrap methods, along with effect size measures (RIT, RID).

Versions across snapshots

VersionRepositoryFileSize
1.0.0 rolling linux/jammy R-4.5 rmedsem_1.0.0.tar.gz 284.5 KiB
1.0.0 rolling linux/noble R-4.5 rmedsem_1.0.0.tar.gz 284.4 KiB
1.0.0 rolling source/ R- rmedsem_1.0.0.tar.gz 209.4 KiB
1.0.0 latest linux/jammy R-4.5 rmedsem_1.0.0.tar.gz 284.5 KiB
1.0.0 latest linux/noble R-4.5 rmedsem_1.0.0.tar.gz 284.4 KiB
1.0.0 latest source/ R- rmedsem_1.0.0.tar.gz 209.4 KiB
1.0.0 2026-04-26 source/ R- rmedsem_1.0.0.tar.gz 209.4 KiB
1.0.0 2026-04-23 source/ R- rmedsem_1.0.0.tar.gz 209.4 KiB
1.0.0 2026-04-09 windows/windows R-4.5 rmedsem_1.0.0.zip 293.3 KiB

Dependencies (latest)

Imports

Suggests