boxplot_from_vectors: Plot boxplot from vectors

View source: R/ACutils_export.R

boxplot_from_vectorsR Documentation

Plot boxplot from vectors

Description

Takes an arbitrary number of vectors and plot the boxplots. When calling this function, any arguments after ... must be fully named.

Usage

boxplot_from_vectors(
  ...,
  names,
  use_x11_device = TRUE,
  use_ggplot = TRUE,
  main = " ",
  x_label = " ",
  y_label = " "
)

Arguments

...

an arbitrary number of vectors. The function does not checks if they are really vectors, so be careful.

names

the names of the groups of the different boxplots. Not defaulted for safety, can be set to 1:length(...).

use_x11_device

boolean, if x11() device has to be activated or not.

main

the title of the plot.

x_label

the name of the x-axis in the plot.

y_label

the name of the y-axis in the plot.

Value

this function does not return anything

Examples

boxplot_from_vectors(v1,v2,v3, names = 1:3)
boxplot_from_vectors(v1,v2,v3, names = c("one","two", "three"), title = "Nice Boxplot")


alessandrocolombi/ACutils documentation built on March 3, 2023, 4:06 a.m.