This function is a wrapper to the more generic function
includeOdgGraphic
which allows to include graphics
into rmarkdown source files.
1 2 | insertOdgAsPdf(psOdgFileStem, psOdgDir = "odg", psFigOutDir = ".",
pbMustGenerate = FALSE, pnPaperWidthScale = NULL)
|
psOdgFileStem |
stem of odg figure file |
psOdgDir |
directory where odg figure file is stored |
psFigOutDir |
directory where output should be placed |
pbMustGenerate |
flag to indicate whether pdf-graphics must be regenerated |
pnPaperWidthScale |
scale factor for produced graphic |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.