medmod: Simple Mediation and Moderation Analysis

This toolbox allows you to do simple mediation and moderation analysis. Models are estimated with the 'lavaan' package by Rosseel (2012) <doi:10.18637/jss.v048.i02>; standard errors for the mediation estimates are computed with the delta method following Sobel (1982) <doi:10.2307/270723> or by bootstrapping. It is also available as a module for 'jamovi' (see <https://www.jamovi.org> for more information). You can find an in depth tutorial on the 'lavaan' model syntax used for this package on <https://lavaan.ugent.be/tutorial/index.html>.

Version: 1.2.0
Depends: R (≥ 3.2)
Imports: jmvcore (≥ 1.0.0), R6, lavaan, ggplot2 (≥ 3.4.0), rlang
Suggests: testthat
Published: 2026-07-16
DOI: 10.32614/CRAN.package.medmod
Author: Ravi Selker [aut, cre]
Maintainer: Ravi Selker <selker.ravi at gmail.com>
BugReports: https://github.com/raviselker/medmod/issues
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: https://github.com/raviselker/medmod
NeedsCompilation: no
Materials: NEWS
CRAN checks: medmod results

Documentation:

Reference manual: medmod.html , medmod.pdf

Downloads:

Package source: medmod_1.2.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available
Old sources: medmod archive

Linking:

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