View source: R/server_ggplot.R
grid_boxplots | R Documentation |
Function for creating grid boxplots for either benchmark or comparison across variables.
grid_boxplots(
df,
x,
color,
y,
id,
y_left = NULL,
y_right = NULL,
facet_var = rlang::sym("VIS_Groep"),
facet_name_var = rlang::sym("VIS_Groep_naam")
)
df |
The data frame used to create the plot. |
x |
The variable used on the x-axis of the plot. |
color |
The variable used to color the points or bars in the plot. |
y |
The variable used on the y-axis of the plot. |
id |
The identifier for selecting the data frame source. |
y_left |
The variable used on the left y-axis when creating a comparative plot. |
y_right |
The variable used on the right y-axis when creating a comparative plot. |
facet_var |
The variable used for facet wrapping. |
facet_name_var |
The name of the variable used for facet wrapping. |
A ggplot object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.