Description Usage Arguments Value
View source: R/posterior_predictive_checks.R
Run forward simulations
1 | posterior_predictive_checks(data, chains, n_iter, seed = NULL)
|
data |
a list containing 4 elements:
|
chains |
a list with the output from |
n_iter |
the number of forward simulations. |
seed |
set a seed for reproducibility of the simulations. |
The function returns a list with three elements:
the number of positive tests in each simulation.
the number of negative tests in each simulation.
the random samples from the chains that were used for the simulations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.