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

perc_med(model, effect)

Arguments

model

mma fit object

effect

the indirect effect to be compared to its direct path