When creating a new graphics object, this function tries to automatically generate the associated command to include the generated graphics object into the respective Rmd-source document. This process needs as input the current working directory where of the Rmd-source document and the name of the file in which the graphics object is stored.
1 | insert_include_command(ps_path, ps_rmd_src = NULL, ps_cwd = get_wd())
|
ps_path |
path to the odg graphics file |
ps_rmd_src |
name of and path to the rmd-source file |
ps_cwd |
current working directory of the rmd-source file |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.