Converts posterior simulations and fitted models to a sims
object, a list of simulation arrays.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | ## S3 method for class 'stanfit'
as_sims(x, sims_major = NULL, vars = NULL, ...)
## S3 method for class 'jagslist'
as_sims(x, ...)
## S3 method for class 'mcmc.list'
as_sims(x, ...)
as_sims(x, ...)
## S3 method for class 'sims'
as_sims(x, ...)
## S3 method for class 'list'
as_sims(x, sims_major, ...)
is_sims(x)
## S3 method for class 'sims'
n_sims(x)
|
x |
An object to convert. |
sims_major |
When converting a list of arrays to a |
... |
Further arguments passed to coercion functions. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.