Description Usage Arguments Value Examples
Any vegaspecs rendered in knitr chunks using vegajson
or vegayaml
(vegayml
) will be stored to a package environment, where they can
be accessed using the vegadown()
function, using the label of a
code chunk.
To get all the available labels, use vegadown_labels()
.
1 2 3 | vegadown(label)
vegadown_labels()
|
label |
|
vegadown()
list()
with S3 class vegaspec
.
vegadown_labels()
character
vector, all available labels.
1 2 3 4 5 6 7 | vegadown_labels()
# not run because it depends on side effects
## Not run:
vegadown("json-cars")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.