Write a plot object as a panel in a Trelliscope display
write_panel(
plot_object,
key,
base_path,
name,
group = "common",
width,
height,
jsonp = TRUE,
split_layout = FALSE
)
a plot object to be written (can be trellis, ggplot2, or htmlwidget)
a string identifying the panel key, which will be used as the panel file name and which the panelKey
column of the cognostics data frame should point to
the base directory of the trelliscope application
name of the display that the panel belongs to
group name of the display that the panel belongs to
width in pixels of each panel
height in pixels of each panel
should json for panel be jsonp (TRUE) or json (FALSE)?
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.