include_graph {gretlR} | R Documentation |
Include graph file in R Markdown or Quarto document.
Description
Use this function to include graph file in R Markdown or Quarto document.
Usage
include_graph(path=".",chunk="",graph="")
Arguments
path |
Object or a character string representing the path(s) to the |
chunk |
Name of the |
graph |
Name of the graph and its extension |
Value
Set of gretl
(open-source software for Econometrics) outputs
See Also
Other important functions:
eng_gretl()
,
exec_gretl()
,
exec_inp()
,
gretlR
,
import_kable()
,
include_tex()
,
write_inp()
Examples
library(gretlR)
## Not run:
code=r'(nulldata 500
set seed 13
gretl1 = normal()
gretl2 = normal()
setobs 12 1980:01 --time-series
gnuplot gretl1 --time-series --with-lines --output="line.png"
)'
exec_gretl(code)
include_graph(path="line.png")
## End(Not run)
[Package gretlR version 0.1.4 Index]