plot_boxplot_class: plot boxplot per class

View source: R/graphics.R

plot_boxplot_classR Documentation

plot boxplot per class

Description

plot boxplot per class

Usage

plot_boxplot_class(
  data,
  class_label,
  label_x = "",
  label_y = "",
  colors = NULL
)

Arguments

data

data.frame contain x, value, and variable

class_label

name of attribute for class label

label_x

x-axis label

label_y

y-axis label

colors

color vector

Value

ggplot graphic

Examples

grf <- plot_boxplot_class(iris |> dplyr::select(Sepal.Width, Species),
 class = "Species", colors=c("red", "green", "blue"))
plot(grf)

daltoolbox documentation built on May 29, 2024, 1:57 a.m.