Description Usage Arguments Value Author(s) See Also Examples
This function generates replicated data sets based on posterior samples of latent variables.
1 | repYpost(res.m, L, Y.family="Poisson")
|
res.m |
a list with elements containing the posterior samples of latent variables and parameters for observed locations |
L |
a vector of length n; it indicates the time duration during which the Poisson counts are accumulated, or the total number of trials for Binomial response |
Y.family |
take the value of |
A matrix of replicated data sets.
Liang Jing ljing918@gmail.com
1 2 3 | ## Not run:
Yrep.post <- repYpost(res.m, L)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.