JS | R Documentation |
Copied verbatim from the htmlwidgets package to avoid adding a dependency just for this single function.
JS(...)
... |
Character vectors as the JavaScript source code (all arguments will be pasted into one character string). |
The input character vector marked with a special class.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.