nbyname | R Documentation |
Returns a list of the numbers of parameter nodes saved in jagsUI
output, by parameter name.
As a default, what is returned for each list element is a vector of the array dimensions within the JAGS model
(that is, excluding the dimension associated with the number of MCMC samples for each parameter node),
or alternately, just the total number of parameter nodes.
nbyname(x, justtotal = FALSE)
x |
Output object from |
justtotal |
Whether to just report the total number of parameters, as opposed to dimensions. |
A list
with an element associated with each parameter. Each element
can be interpreted as the vector length or array dimension associated with the
given parameter.
Matt Tyers
nparam
head(jags_df(asdf_jags_out))
nbyname(asdf_jags_out)
nparam(SS_out)
nbyname(SS_out)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.