This is a very simple example R package consisting of just two Rfiles. There is no data provided in the package, minimal documentation and no examples, demos etc.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.