Makes simple slope plots
prepPlotSS(
data,
xvar,
yvar,
mod,
mvars,
parEst,
vdichotomous,
modLevels,
predLevels = NULL,
xquant,
yquant,
path = NULL
)
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
levels of dichotomous moderator
quantiles of x
quantiles of y
which path is used
empty, directly plots all simple slopes and all indices of mediation