plot_boxplot: Plot boxplot

View source: R/graphics.R

plot_boxplotR Documentation

Plot boxplot

Description

this function displays a boxplot graph from a data frame containing x-axis categories and numeric values using ggplot2.

Usage

plot_boxplot(data, label_x = "", label_y = "", colors = NULL, barwidth = 0.25)

Arguments

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

Value

returns a ggplot graphic

Examples

grf <- plot_boxplot(iris, colors="white")
plot(grf)

daltoolbox documentation built on Nov. 3, 2024, 9:06 a.m.