Plot prior predictive check for BayesDCA (binary case only)
Arguments
- obj
BayesDCA object
- plot_list
If TRUE, returns a list with each separate plot.
- n_draws
Number of prior draws to use.
- bins
Number of bins to use in the histogram of prior prevalence.
Examples
df <- data.frame(outcomes = 1, x = 1) # specific values don't really matter
fit <- dca(df, prior_only = TRUE, threshold_varying_prior = TRUE)
plot_ppc(fit)