Re: [R] Choice of notch size in R

2008-04-22 Thread hadley wickham
On Tue, Apr 22, 2008 at 2:00 PM, Alex Reynolds <[EMAIL PROTECTED]> wrote: > 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 signifi

Re: [R] Choice of notch size in R

2008-04-22 Thread Alex Reynolds
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

Re: [R] Choice of notch size in R

2008-04-21 Thread Richard . Cotton
> 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.

Re: [R] Choice of notch size in R

2008-04-20 Thread Dieter Menne
Alex Reynolds u.washington.edu> writes: > 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? Not directly from boxplot, because it is hardwired to indirectly call fivenum, not quantile. Check bxp instea

Re: [R] Choice of notch size in R

2008-04-20 Thread Peter Dalgaard
Alex Reynolds 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? > Not easily. If you look inside boxplots.stats you'll find the hardcoded constant 1.58, and the documentation has the following t

[R] Choice of notch size in R

2008-04-20 Thread Alex Reynolds
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? Thanks, Alex [1] McGill, Tukey, and Larsen. "Variations of Box Plots", The American Statistician, Vol. 32, No. 1, 12-16. _