| eviews_graph | R Documentation |
EViews graph in R, R Markdown and Quarto.Use this function to create an EViews graph in R and R Markdown
eviews_graph(
wf = "",
page = "*",
series = "*",
group = FALSE,
graph_command = "line",
graph_options = "",
mode = "overwrite",
graph_procs = "",
datelabel = "",
save_options = "",
save_path = "",
frequency = "m",
start_date = "",
save_copy = TRUE
)
wf |
Object or a character string representing the name of an |
page |
Object or a character string representing the name of an |
series |
A vector of names or wildcard expressions for series object(s) contained in an |
group |
Logical, whether to use group view in EViews, that is merge two or more graphs on one page. Setting |
graph_command |
Object or a character string of any of the acceptable |
graph_options |
Object or a character string of any of the acceptable |
mode |
Set |
graph_procs |
A vector containing |
datelabel |
A vector containing |
save_options |
A vector of options to be passed to |
save_path |
Object or a character string representing the path to the folder to save the |
frequency |
Object or a character string representing the frequency of a workfile page to be created. Only letters accepted by EViews are allowed. For example |
start_date |
Object or a character string representing the |
save_copy |
Logical. Whether to save the copy of the graph objects. |
An EViews workfile
Other important functions:
EviewsR-package,
create_object(),
eng_eviews(),
eviews_import(),
eviews_pagesave(),
eviews_wfcreate(),
eviews_wfsave(),
exec_commands(),
export(),
export_dataframe(),
import(),
import_equation(),
import_graph(),
import_kable(),
import_series(),
import_table(),
import_workfile(),
rwalk(),
set_eviews_path()
library(EviewsR)
## Not run:
demo(exec_commands)
eviews_graph(wf="exec_commands",page = "eviewspage1",series="x y",mode = "overwrite",
graph_options = "m")
# Create graph(s) from dataframe
Data=data.frame(x=cumsum(rnorm(100)),y=cumsum(rnorm(100)))
eviews_graph(series=Data,start_date=1990,frequency="m")
# Create graphs in one frame (group=TRUE)
eviews_graph(series=Data,group=TRUE,start_date="1990Q4",frequency="Q")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.