mcmc2list: Convert mcmc.list posterior to list
Description
Convert `mcmc.list` posterior to named list of vectors or arrays.
Usage
mcmc2list(x, pars, collapse.chains = TRUE)
Arguments
- x
object of class mcmc.list.
- pars
vector of parameter names to extract.
- collapse.chains
return array with dimension for each chain?