auto_boxplot | R Documentation |
Wraps geom_boxplot
to simplify creating boxplots.
auto_boxplot( .data, continuous_outcome, categorical_variable, categorical_facets = NULL, alpha = 0.3, width = 0.15, color_dots = "black", color_box = "red" )
.data |
data |
continuous_outcome |
continuous y variable. unquoted column name |
categorical_variable |
categorical x variable. unquoted column name |
categorical_facets |
categorical facet variable. unquoted column name |
alpha |
alpha points |
width |
width of jitter |
color_dots |
dot color |
color_box |
box color |
ggplot
iris %>% auto_boxplot(continuous_outcome = Petal.Width, categorical_variable = Species)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.