View source: R/random_utility.R
xy_boxplots | R Documentation |
Plot x vs. y with boxplots outside of each axis
xy_boxplots(data, x, y, ...)
data |
A dataframe with the columns "x" and "y" (numeric) to be plotted. |
x |
A character string "x" with the column name to be plotted on the x-axis |
y |
A character string "y" with the column name to be plotted on the y-axis |
... |
Optional arguments 'color' and 'color_labels'. 'color' must be a factor, 'color_labels' must be a character string of the same length as the number of levels in factor 'color' |
a ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.