BoxPlot: Boxplot Representation

Description Usage Arguments Details Value Examples

View source: R/boxplot.R

Description

The function BoxPlot displays a boxplot representation of a given sample.

Usage

1
2
BoxPlot(x, col = "white", main = "Boxplot representacion", ylab = "",
  legend = TRUE)

Arguments

x

a numeric vector containing the sample to plot the boxplot representation.

col

a single colour to fill the boxplot representation; default to "white".

main

a main title for the boxplot; default to "Boxplot representation".

ylab

y-axis label; default to empty.

legend

logical value; if TRUE (default), details about boxplot representation are given.

Details

The quantiles needed to obtain this representation are computed using the function sample.quantile.

Value

This function is called for the side effect of drawing the plot.

Examples

1
2
x=c(5,-5,rnorm(40))
BoxPlot(x,col="pink")

LearningStats documentation built on April 21, 2021, 9:06 a.m.