offline | R Documentation |
Deprecated in version 2.0 (offline plots are now the default)
offline(p, height, width, out_dir, open_browser)
p |
a plotly object |
height |
A valid CSS unit. (like "100\ which will be coerced to a string and have "px" appended. |
width |
A valid CSS unit. (like "100\ which will be coerced to a string and have "px" appended. |
out_dir |
a directory to place the visualization.
If |
open_browser |
open the visualization after creating it? |
a plotly object of class "offline"
Carson Sievert
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.