ranef.moultmcmc | R Documentation |
Extract the individual-level ('random') effects
from a moultmcmc
object.
## S3 method for class 'moultmcmc' ranef(object, summary = TRUE, probs = c(0.025, 0.975), pars = NULL, ...)
object |
a moultmcmc model |
summary |
logical, should posterior samples be summarised for each parameter |
probs |
numeric, desired quantiles for summary statistics |
pars |
Optional names of coefficients to extract. By default, all coefficients are extracted. |
... |
Currently ignored. |
If summary
is TRUE
, a matrix for the individual-level effects.
If summary
is FALSE
, a matrix with one row per
posterior draw and one column per individual-level effect.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.