eng_dynare: DynareR: A Seamless Integration of R and Dynare

View source: R/eng_dynare.R

eng_dynareR Documentation

DynareR: A Seamless Integration of R and Dynare

Description

This package runs on top of knitr to facilitate communication with Dynare. Run Dynare scripts from R Markdown document.

Usage

eng_dynare(options)

Arguments

options

Chunk options, as provided by knitr during chunk execution. Chunk option for this is dynare

Details

The dynare engine can be activated via

knitr::knit_engines$set(dynare = DynareR::eng_dynare)

This will be set within an R Markdown document's setup chunk.

Value

Set of Dynare (open-source software for DSGE modelling) codes

Author(s)

Sagiru Mati, ORCID: 0000-0003-1413-3974, https://smati.com.ng

  • Yusuf Maitama Sule (Northwest) University Kano, Nigeria

  • SMATI Academy

References

Bob Rudis (2015).Running Go language chunks in R Markdown (Rmd) files. Available at: https://gist.github.com/hrbrmstr/9accf90e63d852337cb7

Yihui Xie (2019). knitr: A General-Purpose Package for Dynamic Report Generation in R. R package version 1.24.

Yihui Xie (2015) Dynamic Documents with R and knitr. 2nd edition. Chapman and Hall/CRC. ISBN 978-1498716963

Yihui Xie (2014) knitr: A Comprehensive Tool for Reproducible Research in R. In Victoria Stodden, Friedrich Leisch and Roger D. Peng, editors, Implementing Reproducible Computational Research. Chapman and Hall/CRC. ISBN 978-1466561595

See Also

Other important functions: DynareR, add_matlab_path(), add_path(), import_log(), include_IRF(), input_tex(), run_dynare(), run_models(), set_dynare_version(), set_octave_path(), write_dyn(), write_mod()

Examples

knitr::knit_engines$set(dynare = DynareR::eng_dynare)
library(DynareR)

DynareR documentation built on Oct. 1, 2023, 1:08 a.m.