
Returns Tukey's five number summary (minimum, lower-hinge, median, upper-hinge, maximum) for the input data.
fivenum(x, na.rm = TRUE)
A numeric vector of length 5 containing the summary information. See
boxplot.stats
for more details.
IQR
,
boxplot.stats
,
median
,
quantile
,
range
.
# NOT RUN {
fivenum(c(rnorm(100), -1:1/0))
# }
Run the code above in your browser using DataLab