plot_ppc | R Documentation |
Plot prior predictive check for BayesDCA (binary case only)
plot_ppc(obj, plot_list = FALSE, n_draws = 4000, bins = 20)
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. |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.