import_equation {EviewsR}R Documentation

Import EViews equation data members into R, R Markdown or Quarto.

Description

Use this function to import EViews equation data members into R, R Markdown or Quarto.

Usage

import_equation(wf = "", page = "*", equation = "*")

Arguments

wf

Object or a character string representing the name of an EViews workfile.

page

Object or a character string representing the name of an EViews workfile page.

equation

Name(s) or wildcard expressions for EViews equation object(s) in an EViews workfile

Value

An EViews workfile

See Also

Other important functions: EviewsR, create_object(), eng_eviews(), eviews_graph(), eviews_import(), eviews_pagesave(), eviews_wfcreate(), eviews_wfsave(), exec_commands(), export_dataframe(), export(), import_graph(), import_kable(), import_series(), import_table(), import_workfile(), import(), rwalk(), set_eviews_path()

Examples

library(EviewsR)
## Not run: 
demo(exec_commands)

import_equation(wf="exec_commands",page="eviewsPage",equation="OLS")

# To access the data members in base R

eviews$eviewspage_ols

# To obtain R-squared value in base R

eviews$eviewspage_ols$r2

# To get the values above in R Markdown or Quarto:

# chunkLabel$eviewspage_ols

# chunkLabel$eviewspage_ols$r2

## End(Not run)

[Package EviewsR version 0.1.5 Index]