View source: R/stat-fivenumber.R
stat_fivenumber | R Documentation |
The five number summary of a sample is the minimum, first quartile, median, third quartile, and maximum.
stat_fivenumber(
mapping = NULL,
data = NULL,
geom = "boxplot",
probs = c(0, 0.25, 0.5, 0.75, 1),
na.rm = FALSE,
position = "identity",
show.legend = NA,
inherit.aes = TRUE,
...
)
mapping |
Set of aesthetic mappings created by |
data |
The data to be displayed in this layer. There are three options: If A A |
geom |
The geometric object to use to display the data, either as a
|
probs |
Quantiles to use for the five number summary. |
na.rm |
If |
position |
Position adjustment, either as a string naming the adjustment
(e.g. |
show.legend |
logical. Should this layer be included in the legends?
|
inherit.aes |
If |
... |
Other arguments passed on to |
A data frame with additional columns:
width |
width of boxplot |
min |
minimum |
lower |
lower hinge, 25% quantile |
middle |
median, 50% quantile |
upper |
upper hinge, 75% quantile |
max |
maximum |
stat_boxplot()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.