Description Usage Arguments Details
Retrieve dimensions of an MCMC object:
n_chain(x)
the number of chains
n_var(x)
the number of variables
n_iter(x)
the number of iterations
1 2 3 4 5 |
x |
an mcmc object, see "Details" for a list of supported mcmc objects. |
This is similar to coda::nchain()
but more general, working for
the following classes:
* mcmc
* mcmc.list
* data.table
(generated by mcmc_to_dt
)
* stanfit
* jags
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.