ppc: Graphical posterior predictive checks

View source: R/main-ppc.R

ppcR Documentation

Graphical posterior predictive checks

Description

Graphical posterior predictive checks

Usage

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().


jtimonen/lgpr documentation built on Oct. 12, 2023, 11:13 p.m.