The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

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

Version: 1.0.0
Depends: R (≥ 4.1.0)
Imports: lavaan, mvtnorm, ggplot2, dplyr, purrr, stats
Suggests: blavaan, boot, cSEM, HDInterval, modsem, semPlot, rmarkdown, testthat (≥ 3.0.0)
Published: 2026-03-16
DOI: 10.32614/CRAN.package.rmedsem
Author: Mehmet Mehmetoglu ORCID iD [aut], Matthias Mittner ORCID iD [aut, cre], Kjell Slupphaug ORCID iD [aut]
Maintainer: Matthias Mittner <matthias.mittner at uit.no>
BugReports: https://github.com/ihrke/rmedsem/issues
License: MIT + file LICENSE
URL: https://github.com/ihrke/rmedsem, https://ihrke.github.io/rmedsem/
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: rmedsem results

Documentation:

Reference manual: rmedsem.html , rmedsem.pdf

Downloads:

Package source: rmedsem_1.0.0.tar.gz
Windows binaries: r-devel: rmedsem_1.0.0.zip, r-release: rmedsem_1.0.0.zip, r-oldrel: rmedsem_1.0.0.zip
macOS binaries: r-release (arm64): rmedsem_1.0.0.tgz, r-oldrel (arm64): rmedsem_1.0.0.tgz, r-release (x86_64): rmedsem_1.0.0.tgz, r-oldrel (x86_64): rmedsem_1.0.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=rmedsem to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.