plot.edbl_design {edibble} | R Documentation |
Interactive plot of the edibble design
Description
Interactive plot of the edibble design
Usage
## S3 method for class 'edbl_design'
plot(
x,
which = c("factors", "levels"),
width = "100%",
height = NULL,
seed = 1,
title = NULL,
subtitle = NULL,
footer = NULL,
background = "transparent",
view = c("show-buttons", "hide-buttons", "static"),
...
)
## S3 method for class 'edbl_table'
plot(x, ...)
plot_fct_graph(
x,
width = "100%",
height = NULL,
seed = 1,
title = NULL,
subtitle = NULL,
footer = NULL,
background = "transparent",
view = c("show-buttons", "hide-buttons", "static"),
...
)
plot_lvl_graph(
x,
width = "100%",
height = NULL,
seed = 1,
title = NULL,
subtitle = NULL,
footer = NULL,
background = "transparent",
view = c("show-buttons", "hide-buttons", "static"),
...
)
Arguments
x |
An edibble design. |
which |
A string of either "factors" or "levels". |
width , height |
The width and height of the plot. |
seed |
A seed number so same plot is always generated. |
title , subtitle , footer |
The title, subtitle or footer of the plot.
By default it uses the name from the |
background |
The background color of the plot. Default is transparent. The input can be a color name (e.g. "white"), a HEX value ("#FFFFFF"), or rgb/rgba in the format like rgba(0, 0, 0, 0). |
view |
A string of either "show-buttons" (default), "hide-buttons", "static" |
... |
Currently unused. |
Value
A plot.
Examples
plot(takeout(menu_crd(t = 4, n = 20)))