Makes Index of Mediated Moderated plots
prepPlotIMM(
data,
xvar,
yvar,
mod,
mvars,
parEst,
vdichotomous,
modLevels,
path = NULL
)
empty, directly plots all simple slopes and all indices of mediation
data frame containg the variables of the model
predictor variable name
depedendent variable name
moderator name
vector of mediators names
parameter estimates from lavaan results
indicates whether moderator is dichotomous (TRUE)
levels of dichotomous moderator
which path is used