Description Usage Arguments Details Value
Statement of knitr::include_graphics with correct graphic name is added on a new line inside the Rmarkdown (rmd) source document text given in the parameter pvRmdSrc. The parameter psGrFmt can be used to specify different formats of the graphics file to be included. The string in psChunkLabel is treated as additional chunk labels which are inserted in the chunk that includes the graphics file.
1 | knitr_include_graphics_pdf(psGraphicName, pvRmdSrc, psGrFmt, psChunkLabel)
|
psGraphicName |
name of the graphic file to be included |
pvRmdSrc |
vector with Rmd-source text |
psGrFmt |
graphics format |
psChunkLabel |
string of chunk labels to be added |
The use of this function is deprecated. Use the newer functionality
around the function rmddochelper::use_odg_graphic()
vector with extended Rmarkdown sources
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.