Skip to content
Prev 17335 / 398513 Next

help understanding box plots

Jay Pfaffman <pfaffman at relaxpc.com> writes:
Not quite. 1.5 times the length of the entire box.
boxplot.stats.Rd had a typo and got updated recently in the
development and patch versions to read

  \item{coef}{this determines how far the plot ``whiskers'' extend out
    from the box.  If \code{coef} is positive, the whiskers extend to
    the
    most extreme data point which is no more than \code{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).}

(for some reason this hasn't yet found its way to the online snapshot
manuals in http://stat.ethz.ch/R-alpha/R-devel/doc/html/ and friends.
Martin?)
Yes. The exact definition is slightly peculiar, but in compliance with
the original definition by Tukey. So I'm told, anyway.
Not sure what you're doing there, but maybe some code like this could
help:

 x1<-rnorm(20)
 x2<-rnorm(20)
 boxplot(list(x1=x1,x2=x2))
 points(cbind(1,x1))
 points(cbind(2,x2))