Include an odg graphic in png format into a rmarkdown source file
1 2  | insertOdgAsPng(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.