The function identifies all factors and their combinations that are interacting with a moderating of "base"
variable. For each interaction, it determines all possible level combinations of the involved regressors,
which are further used to combine the posterior samples of the selected regression coefficients to calculate
simple effects.
When the default effect coding scheme is used the simple effects are calculated for all levels of the
interacting variables, as specified in the data. If a user specifies different contrasts for any of the interacting
variables the simple effects for these variables are reported for the user-defined
regressors. This distinction is reflected in the labels of the reported results: in the default case labels from the
original factors are displayed; in the case of user-defined contrasts, the name of the regressor is displayed instead.
The summary of the posterior distribution of each simple effect contains the mean,
standard deviation, posterior interval, which by default reports a central 95% interval,
but can also be specified by the user, and a two-sided Bayesian p-value.
Note that for a Multinomial model intercepts and between-subject regressors have choice specific
coefficients and thus simple effects are reported for each possible choice outcome. To perform the
calculation for a Multinomial model an additional argument dep_var_name
with a name of the
dependent variable must be specified.