Description Usage Arguments Value Examples
Samples from the Posterior Predictive Distribution in long format
1 | posterior_predict_long(model, n_samples = NULL)
|
model |
brmsfit |
n_samples |
integer |
tibble with columns from brmsfit$data (at least original responses, person and item identifier). Additionally yrep (predicted answers) and .draw (which MCMC draw comes the answer from).
1 2 3 4 | ## Not run:
posterior_predict_long(fit, n_samples = 500)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.