A copy of boxplot.stats that adds the argument type to be passed to quantile when calculating sample quantiles.

boxplot_stats(x, coef = 1.5, do.conf = TRUE, do.out = TRUE, type = 6)

Arguments

x

a numeric vector for which the boxplot will be constructed (NAs and NaNs are allowed and omitted).

coef

this determines how far the plot whiskers extend out from the box. If coef is positive, the whiskers extend to the most extreme data point which is no more than coef times the length of the box away from the box. A value of zero causes the whiskers to extend to the data extremes (and no outliers be returned).

do.conf, do.out

logicals; if FALSE, the conf or out component respectively will be empty in the result.

type

Argument type to quantile.