MarginalMediation: Marginal Mediation

Provides the ability to perform "Marginal Mediation"–mediation wherein the indirect and direct effects are in terms of the average marginal effects (Bartus, 2005, <>). The style of the average marginal effects stems from Thomas Leeper's work on the "margins" package. This framework allows the use of categorical mediators and outcomes with little change in interpretation from the continuous mediators/outcomes. See <doi:10.13140/RG.2.2.18465.92001> for more details on the method.

Version: 0.7.0
Imports: stats, magrittr, boot, cli, crayon, rstudioapi, purrr, tibble, furniture, betareg, stringr
Suggests: testthat, knitr, rmarkdown, margins
Published: 2019-03-04
Author: Tyson S Barrett ORCID iD [aut, cre], Angelo Canty [ctb] (S original bootstrap method,, Brian D. Ripley [ctb] (R port, bootstrap method), Thomas Leeper [ctb] (Vectorized marginal effects,
Maintainer: Tyson S Barrett <t.barrett at>
License: GPL-2
NeedsCompilation: no
Materials: README NEWS
CRAN checks: MarginalMediation results


Reference manual: MarginalMediation.pdf
Vignettes: Furniture
Package source: MarginalMediation_0.7.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X binaries: r-release: MarginalMediation_0.7.0.tgz, r-oldrel: MarginalMediation_0.7.0.tgz
Old sources: MarginalMediation archive


Please use the canonical form to link to this page.