Returns a named p x p matrix of posterior summary statistics for
the VAR lag coefficients at a chosen lag, suitable for network
visualisation (e.g., with igraph or qgraph).
Usage
extract_network_matrix(
object,
lag = 1L,
stat = c("mean", "median", "q5", "q95")
)Arguments
- object
A
bvarnetobject returned bybvar.- lag
Integer. Which lag block. Default 1.
- stat
Character. Summary statistic to fill the matrix with:
"mean"(default),"median","q5", or"q95".