BoxPlot {LearningStats} | R Documentation |
Boxplot Representation
Description
The function BoxPlot
displays a boxplot representation of a given sample.
Usage
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
x=c(5,-5,rnorm(40))
BoxPlot(x,col="pink")
[Package LearningStats version 0.1.0 Index]