View source: R/plotly_example.R
plotly_example | R Documentation |
Provides a unified interface for running demos, shiny apps, and Rmd documents which are bundled with the package.
plotly_example(type = c("demo", "shiny", "rmd"), name, edit = TRUE, ...)
type |
the type of example |
name |
the name of the example (valid names depend on |
edit |
whether to open the relevant source files using file.edit. Only relevant if |
... |
arguments passed onto the suitable method. |
Carson Sievert
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.