perc_med: Percent Mediation

View source: R/comps.R

perc_medR Documentation

Percent Mediation

Description

To obtain the percent of the total effect that is mediated through the specified indirect path: indirect / (total) * 100.

Usage

perc_med(model, effect)

Arguments

model

mma fit object

effect

the indirect effect to be compared to its direct path


MarginalMediation documentation built on April 15, 2022, 9:06 a.m.