-
-
Notifications
You must be signed in to change notification settings - Fork 88
Closed
Labels
Description
Per the discussion on https://discourse.mc-stan.org/t/bayesplot-ppc-ribbon-using-points-for-observations/19599, it'd be nice to have a ppc plot which uses a ribbon for the model predictions but points for the observations.
I propose adding an argument to the function ppc_ribbon and ppc_ribbon_grouped, namely y_is_point which defaults to FALSE (so as to not break backward compatibility). So the signature would be
ppc_ribbon(
y,
yrep,
x = NULL,
...,
prob = 0.5,
prob_outer = 0.9,
alpha = 0.33,
size = 0.25,
y_is_point = FALSE
)
I can build this feature in.