Description Usage Arguments Value Note Examples
View source: R/posterior_predict.R
Draw samples from the posterior predictive distribution.
1 | posterior_predict(object, iter = 1000, progress = TRUE)
|
object |
An object of class |
iter |
Numeric. Number of samples from the predictive distribution |
progress |
Logical. Should a progress bar be included (defaults to |
A 3D array containing the predicted datasets
Currently only implemented for type = "mixed"
, type = "ordinal"
,
and type = "binary"
. Note the term mixed is confusing, in that it can
be used with only, say, ordinal data. In this case, reestimate the model with type = "mixed"
until all data types are supported.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.