Somewhat old issue (#477, #706)
Instead of relying on bayesplot:
|
if (inherits(model, "brmsfit")) { |
|
out <- as.data.frame( |
|
bayesplot::pp_check(model, type = pp_type, ndraws = iterations, ...)$data |
|
) |
|
} else { |
|
out <- as.data.frame( |
|
bayesplot::pp_check(model, plotfun = pp_type, nreps = iterations, ...)$data |
|
) |
|
} |
We could call modelbased::estimate_prediction(model_priors) and plot that using the same machinery as we do for other models
Somewhat old issue (#477, #706)
Instead of relying on bayesplot:
performance/R/check_predictions.R
Lines 217 to 225 in a6dcc28
We could call
modelbased::estimate_prediction(model_priors)and plot that using the same machinery as we do for other models