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.
Arguments
- model
Fitted MRPModel object.
- file
Optional file path to save the plot.
- ...
Additional arguments passed to
ggsave
, such aswidth
andheight
.