Provides a unified interface for running demos, shiny apps, and Rmd documents which are bundled with the package.
Usage
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
typeis"shiny"or"rmd".- ...
arguments passed onto the suitable method.