Re: [R] Choice of notch size in R

From: <>
Date: Mon, 21 Apr 2008 10:59:42 +0100

> 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)

Then you either need to modify boxplot to find your version of boxplot.stats, or call bxp (the low-level plotting function that boxplot calls) directly.


Mathematical Sciences Unit

ATTENTION: This message contains privileged and confidential inform...{{dropped:20}} mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Mon 21 Apr 2008 - 10:08:18 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 22 Apr 2008 - 20:30:43 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive