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, ...)

Arguments

type

the type of example

name

the name of the example (valid names depend on type).

edit

whether to open the relevant source files using file.edit. Only relevant if type is "shiny" or "rmd".

...

arguments passed onto the suitable method.

Author

Carson Sievert