| [.bayesianVARs_coef | R Documentation | 
Extract or replace parts of a bayesianVARs_coef object.
## S3 method for class 'bayesianVARs_coef'
x[i, j, ...]
| x | An object of type  | 
| i | indices | 
| j | indices | 
| ... | further indices | 
An object of type bayesianVARs_coef.
# Access a subset of the usmacro_growth dataset
data <- usmacro_growth[,c("GDPC1", "CPIAUCSL", "FEDFUNDS")]
# Estimate a model
mod <- bvar(data, sv_keep = "all", quiet = TRUE)
# Extract coefficients, which are of class bayesianVARs_coef
phi <- coef(mod)
phi[1,1,1]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.