The $pp_check() method creates posterior predictive check plots
to assess model fit by comparing observed data to replicated data from
the posterior predictive distribution. Check out the
More examples of R6 classes
vignette for usage examples.
pp_check(model, file = NULL, ...)A ggplot object showing the posterior predictive check result.
Fitted MRPModel object.
Optional file path to save the plot.
Additional arguments passed to ggsave, such as width and height.