Returns an (iterations * chains) by params matrix with
Stan-indexed column names (e.g. "beta[1,1]", "phi[2,3]").
Several blocks can be requested at once; their columns are returned
side by side in one matrix.
Arguments
- object
A
bvarnetobject returned bybvar.- parameter
Character vector naming one or more of
"beta","phi","sd_u","sigma","kappa", or"lp__"; or the single value"all"(the default), which returns every block the fitted model actually has draws for.
Value
A numeric matrix with one row per posterior draw and one column per
Stan parameter element, named with the Stan index (e.g. "phi[1,2]").
When several blocks are requested, their columns appear in the order the
blocks were named. Use extract_param for a labelled summary
table instead of raw draws.
