fivenum {stats} | R Documentation |
Returns Tukey's five number summary (minimum, lower-hinge, median, upper-hinge, maximum) for the input data.
fivenum(x, na.rm = TRUE)
x |
numeric, maybe including NA s and
+/-Inf s. |
na.rm |
logical; if TRUE , all NA and
NaN s are dropped, before the statistics are computed. |
A numeric vector of length 5 containing the summary information. See
boxplot.stats
for more details.
IQR
,
boxplot.stats
,
median
,
quantile
,
range
.
fivenum(c(rnorm(100),-1:1/0))