Build point/interval summaries at a few values of a numeric moderator, plotted against the factor on the x-axis.
conditional_effects_slices(
object,
effects,
slices = NULL,
nslices = 3L,
prob = 0.95,
ndraws = 200L,
at = list(),
seed = NULL,
...
)An object of class "qbrms_conditional_effects" containing
a list with one element per effect. Each element is a data frame with
columns for the predictor values, estimates, and credible intervals.
A qbrms_fit object.
Character vector specifying effects to plot. If NULL, all numeric predictors are used.
Named list of variables and values at which to slice the data.
Number of slices to use for each slicing variable.
Probability mass to include in uncertainty intervals (default 0.95).
Number of posterior draws to use for predictions.
Named list of values at which to fix other predictors.
Random seed for reproducibility.
Additional arguments passed to prediction functions.