Skip to content

Boxplot in R

3 messages · Elli, Marc Schwartz, Rolf Turner

#
How to calculate the boxplots R? This question arises because we are building
manually boxplots, we consulted various literature sources for calculations
of the boxplot but our results differ from those generated by R, especially
when calculating the whiskers.
What is the procedure used by R to perform these calculations?
Anyone can help us please?



--
View this message in context: http://r.789695.n4.nabble.com/Boxplot-in-R-tp4649797.html
Sent from the R help mailing list archive at Nabble.com.
#
On Nov 16, 2012, at 2:04 PM, Elli <ellilti_017 at hotmail.com> wrote:

            
A reading of the help page for the function using ?boxplot would be enlightening, taking note of the 'range' argument relative to the whiskers, which defaults to 1.5.

The See Also on that help page points you to ?boxplot.stats "which does the computation" and has additional detail. Both pages list references.

If all else fails, since R is open source, you can always look at the source code for both functions to follow exactly what is done.

Regards,

Marc Schwartz
#
On 17/11/12 09:04, Elli wrote:
?boxplot.stats

     cheers,

         Rolf Turner