Render the panels of a trelliscope display
Usage
as_panels_df(
x,
panel_col = "panel",
keep_cols = NULL,
as_plotly = FALSE,
plotly_args = NULL,
plotly_cfg = NULL
)
Arguments
- x
A ggplot object created with
facet_panels()
.- panel_col
The name of the column to store the rendered panels in.
- keep_cols
An optional vector of extra variable names in
x
to keep in the data. If specified, its values cannot vary within each combination of the specified facet variables.- as_plotly
Should the panels be written as plotly objects?
- plotly_args
Optional named list of arguments to send to
ggplotly
- plotly_cfg
Optional named list of arguments to send to plotly's `config“ method.