plot_boxplot | R Documentation |
this function displays a boxplot graph from a data frame containing x-axis categories and numeric values using ggplot2.
plot_boxplot(data, label_x = "", label_y = "", colors = NULL, barwidth = 0.25)
data |
data.frame contain x, value, and variable |
label_x |
x-axis label |
label_y |
y-axis label |
colors |
color vector |
barwidth |
width of bar |
returns a ggplot graphic
grf <- plot_boxplot(iris, colors="white")
plot(grf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.