knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
Import dynare output result file into R.
This is a basic example which shows you how to import a '*_results.mat' file
library(dynar) model <- mat2r("inst/main_basic_results.mat") %>% clean_dynare() str(model, 1)
model %>% irf_long() %>% autoplot(filter_shock = "chi", filter_var = c("data_qhc", "data_qhd", "data_IHc", "data_IHd"))
Please note that the 'dynar' project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.