Save a plotly to an HTML file
Arguments
- p
a plot object (
plotly
orggplot
)- file
a file path to save the HTML file
- ...
passed on to htmlwidgets::saveWidget
Examples
if (FALSE) { # \dontrun{
db = edc_example()
load_database(db)
p = edc_swimmerplot(id_lim=c(5,45))
save_plotly(p, "graph/swimplots/edc_swimmerplot.html", title="My Swimmerplot")
} # }