boxplot: Box plot function

View source: R/boxplot.R

boxplotR Documentation

Box plot function

Description

Creates a box plot of the data.

Usage

boxplot(
  file,
  columns,
  mean_dot_symbol,
  mean_dot = FALSE,
  primary_color,
  secondary_color,
  tertiary_color,
  quaternary_color,
  quinary_color,
  senary_color
)

Arguments

file

A csv file with the source data

columns

Names of the column from the file you want to make a boxplot of.

mean_dot_symbol

Number representing the shape of the symbol for the mean dot.

mean_dot

Put True if you want to plot the mean dot.

primary_color

First color for bar plot

secondary_color

Second color for bar plot

tertiary_color

Third color for bar plot

quaternary_color

Fourth color for bar plot

quinary_color

Fifth color for bar plot

senary_color

Sixth color for bar plot

Details

This function creates a box plot based on a column of a file with data.

Value

A box plot

Author(s)

Emiel Creus

Examples

  ## Not run: 
     boxplt("testdata.csv",
c("column_1","column_2"),
19, TRUE,
"#004D9A",
"#002142",
"#0069D2", "#0180FF",
"#004D9A", "#002142") )
  
## End(Not run)


yForecasting/businessplots documentation built on Jan. 8, 2025, 6:26 p.m.