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, ...)
the type of example
the name of the example (valid names depend on type
).
whether to open the relevant source files using file.edit. Only relevant if type
is "shiny"
or "rmd"
.
arguments passed onto the suitable method.
Carson Sievert