import_log: Import 'dynare' log file as a list of R dataframes.

View source: R/import_log.R

import_logR Documentation

Import dynare log file as a list of R dataframes.

Description

Use this function to import dynare log file as a list of R dataframes. The imported list can be accessed via dynare$modelNmae.

Usage

import_log(path = ".", model = "")

Arguments

path

A character string for the path to the dynare log file.

model

Object or a character string representing the name of the Dynare model file (.mod or .dyn extension)

Value

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

See Also

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

Examples

## Not run: 

library(DynareR)

demo(bkk)

import_log(model="bkk")

# Alternatively, use the path to the log file

import_log(path="bkk/bkk.log")

# Access the mported list

dynare$bkk

dynare$bkk$moments

knitr::kable(dynare$bkk$decomposition,format='pandoc')

## End(Not run)

DynareR documentation built on April 30, 2022, 9:05 a.m.