This is an internal-facing function similar to ggvisOutput, but with more options.
1 2 | ggvisOutputElements(plot_id = rand_id("plot_id"), spec = NULL,
shiny = TRUE)
|
plot_id |
Unique identifier to use for the div containing the ggvis plot. |
spec |
Plot specification, used internally. |
shiny |
Should this include headers for Shiny? For dynamic and interactive plots, this should be TRUE; otherwise FALSE. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.