Conditional effects for qbrms Gaussian models
# S3 method for qbrms_fit
conditional_effects(
object,
effects = NULL,
spaghetti = FALSE,
ndraws = 200L,
n_points = 100L,
at = list(),
seed = NULL,
prob = 0.95,
...
)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, point estimates (estimate__),
and credible interval bounds (lower__, upper__).
A qbrms fit object (Gaussian).
Character vector: names of predictors to vary. Supports simple two-way interactions "num:fac" or "fac:num" where one is numeric and the other factor.
Logical; if TRUE draw per-draw "spaghetti" lines. If FALSE, draw a mean line with a credible-interval ribbon.
Number of joint coefficient draws for uncertainty (default 200).
Size of the x-grid across the observed range (default 100).
Optional named list of covariate values to hold constant.
Optional integer seed for reproducibility.
Interval probability for ribbons (default 0.95).
Ignored.