See vegawidget::knit_print.vegaspec
for details,
particularly on additional packages that may have to be installed.
1 | knit_print.virgo(spec, ..., renderer = "canvas", options = NULL)
|
spec |
vega spec. |
... |
Options passed to knitr. |
renderer |
One of "svg" or "canvas". |
options |
Options. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.