[R] Choice of notch size in R

Alex Reynolds reynolda at u.washington.edu
Tue Apr 22 21:00:09 CEST 2008


Many thanks to you and Peter Dalgaard for your advice. Instead of 
notches on a classic box plot, I have elected to draw a more 
"minimalized" box plot along the lines suggested by Tufte, and overlap a 
custom significance region on this.

As a statistical question, if I log-transform my data, can I no longer 
rely on this significance region estimation?

Kind regards,
Alex

Richard.Cotton at hsl.gov.uk wrote:
>> Is there a way to modify the choice of notch size [1] in R's boxplot 
>> routine from outlining a 5% significance region, to say 1% or lower?
> 
> Yes, but it's not as simple as specifying the significance level.  You'll 
> have to update the function boxplot.stats, specifically the line
> conf <- if (do.conf)  stats[3] + c(-1.58, 1.58) * iqr/sqrt(n)



More information about the R-help mailing list