insertOdgAsPdf is just a wrapper to the same function
in package rcoursetools
| 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 whether pdf must be regenerated | 
| pnPaperWidthScale | factor with which graphic is scaled | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.