Description Usage Arguments Details Value
New observations are simulated from the posterior predictive distribution.
1 2 |
object |
An object of class |
nsim |
Number of response vectors to simulate. |
seed |
An object specifying if and how the random number generator should be initialized. |
... |
Additional arguments to be passed to |
If nsim
is not NULL
, update
is called to
generate nsim
new samples from the posterior, and new
observations are generated from these. Otherwise new observations
are generated from the samples contained in the fitted object.
A dataframe of simulated responses.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.