Learn R Programming

swfscMisc (version 1.6.5)

runjags2list: Convert runjags posterior to list

Description

Convert runjags posterior to named list of vectors or arrays.

Usage

runjags2list(post, collapse.chains = TRUE)

Arguments

post

list of class `runjags`. The output from a call to run.jags.

collapse.chains

return array with dimension for each chain?

See Also

aperm to transpose the array if necessary. as.data.frame.table to convert arrays to data.frames.