Other packages > Find by keyword >

MarginalMediation  

Marginal Mediation
View on CRAN: Click here


Download and install MarginalMediation package within the R console
Install from CRAN:
install.packages("MarginalMediation")

Install from Github:
library("remotes")
install_github("cran/MarginalMediation")

Install by package version:
library("remotes")
install_version("MarginalMediation", "0.7.3")



Attach the package and use:
library("MarginalMediation")
Maintained by
Tyson S Barrett
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2018-04-10
Latest Update: 2022-04-15
Description:
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 for more details on the method.
How to cite:
Tyson S Barrett (2018). MarginalMediation: Marginal Mediation. R package version 0.7.3, https://cran.r-project.org/web/packages/MarginalMediation. Accessed 05 Jun. 2026.
Previous versions and publish date:
0.5.1 (2018-04-10 15:08), 0.7.0 (2019-03-04 11:50), 0.7.2 (2022-04-15 10:42)
Other packages that cited MarginalMediation R package
View MarginalMediation citation profile
Other R packages that MarginalMediation depends, imports, suggests or enhances
Complete documentation for MarginalMediation
Functions, R codes and Examples using the MarginalMediation R package
Some associated functions: amed . frames . mma . mma_check . mma_dir_effects . mma_formulas . mma_ind_effects . mma_std_dir_effects . mma_std_ind_effects . perc_med . pipe . 
Some associated R codes: Marginal_Mediation.R . assumption_checks.R . comps.R . frAMEs.R . utils.R . zzz.R .  Full MarginalMediation package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

envirem  
Generation of ENVIREM Variables
Generation of bioclimatic rasters that are complementary to the typical 19 bioclim variables. ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
msm  
Multi-State Markov and Hidden Markov Models in Continuous Time
Functions for fitting continuous-time Markov and hidden Markov multi-state models to longitudinal d ...
Download / Learn more Package Citations See dependency  
ibb  
R Wrapper for Istanbul Municipality Open Data Portal
Call wrappers for Istanbul Metropolitan Municipality's Open Data Portal (Turkish: Istanbul B ...
Download / Learn more Package Citations See dependency  
crossurr  
Cross-Fitting for Doubly Robust Evaluation of High-Dimensional Surrogate Markers
Doubly robust methods for evaluating surrogate markers as outlined in: Agniel D, Hejblum BP, Thiebau ...
Download / Learn more Package Citations See dependency  

27,268

R Packages

233,548

Dependencies

72,590

Author Associations

27,205

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA