Skip to content
Prev 220580 / 398500 Next

Whiskers on the default boxplot {graphics}

Jason, 

All these are clearly defined in the help file for 'boxplot' under 'range'.  Don't understand how you missed that.

...Tao




----- Original Message ----
It would be great if the description could be modified to
upper whisker = min(max(x), Q_3 + 1.5 * IQR)
lower whisker
Maybe that is clearly written in the
Your type of descriptive answer and
More like you and the tool may be
Thanks
________________________________
From:
Cc: R Project
Sent: Wed,
Subject: Re: [R] Whiskers on the default boxplot
Hi:

Let's do some math
e:

Okay...Let me see if I've got
If by
x is the numeric vector of interest
upper whisker = min(max(x), Q_3 + 1.5 * IQR)
lower
So the upper whisker is located at
whereas the lower
In your terms, the whiskers should extend out a *maximum* of "1.5
away from the box". 

Visually, this means
separately at the high end, and those below Q1 - 1.5 IQR are plotted
end. Depending on the source, the separately plotted
the other hand, if the maximum or
its nearest
Does that make
HTH,
Dennis