Graphical posterior predictive checks

ppc(fit, data = NULL, fun = default_ppc_fun(fit), verbose = TRUE, ...)

Arguments

fit

An object of class lgpfit that can been created with sample_f=TRUE.

data

the original data frame (deprecated argument with no effect, now obtained from fit object)

fun

bayesplot function name

verbose

Can this print any messages?

...

additional arguments passed to the default pp_check method in bayesplot

Value

a ggplot object

See also

Introduction to graphical posterior predictive checks: here. Prior predictive check can be done by calling prior_pred and then bayesplot::pp_check().