Write a plot object as a panel in a Trelliscope display
1 2 3 4 5 6 7 8 9 10 11 |
plot_object |
a plot object to be written (can be trellis, ggplot2, or htmlwidget) |
key |
a string identifying the panel key, which will be used as the panel file name and which the |
base_path |
the base directory of the trelliscope application |
name |
name of the display that the panel belongs to |
group |
group name of the display that the panel belongs to |
width |
width in pixels of each panel |
height |
height in pixels of each panel |
jsonp |
should json for panel be jsonp (TRUE) or json (FALSE)? |
split_layout |
boolean that determines if the layout is split into components like a facet_grid vs. individual panels like facet_wrap. Only applies to ggplot2 plot objects. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.