save_plotly | R Documentation |
Save a plotly to an HTML file
save_plotly(p, file, ...)
p |
a plot object ( |
file |
a file path to save the HTML file |
... |
passed on to htmlwidgets::saveWidget |
nothing, used for side effect
## Not run:
tm = edc_example_plot()
p = edc_swimmerplot(tm$.lookup, id_lim=c(5,45))
save_plotly(p, "graph/swimplots/edc_swimmerplot.html", title="My Swimmerplot")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.