perc_med {MarginalMediation} | R Documentation |
To obtain the percent of the total effect that is mediated through the specified indirect path: indirect / (total) * 100.
perc_med(model, effect)
model |
mma fit object |
effect |
the indirect effect to be compared to its direct path |