Description Usage Arguments Details Value See Also
View source: R/sample_posterior.R
Get a sample of posterior draws from a, inla
fit as a tibble. Using
the data from INLA::inla.posterior.sample
.
1 | tidy_draws_inla(.result, n = 1L, ren = TRUE)
|
.result |
|
n |
Sample size. |
ren |
TRUE:rename variables to |
Create list where the latent and hyper parameters from
INLA::inla.posterior.sample
are joined together in one vector per
sample. Then each vector from the n
samples are
put together in a draws_rvars
object.
draws_rvars
object.
INLA::inla.posterior.sample eflINLA::posterior_samples_sel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.