Many thanks to Chuck Taylor and Stephen Kaluzny for a "fix" to the bug:
They both suggest using confcol=0 (the background color) , i.e.,
boxplot(lottery.payoff, lottery2.payoff, lottery3.payoff,
style.bxp="old", confint=T, confcol=0)
This produces a notched boxplot, but without the shading.
Stephen also pointed out that I could get access the old graphics
code by setting:
use.legacy.graphics(TRUE)
before starting any graphics device.
==========
My original question:
I'm using S-Plus 8.1.1 in Windows XP Pro and I would like to get the
old-fashioned notched boxplots. The following command produces a
boxplot with notches,
boxplot(lottery.payoff, lottery2.payoff, lottery3.payoff,
style.bxp="old", confint=T)
however, the shading for the confidence interval covers the whole
width of each box, rather than staying within the notches.
I also get a warning "-1 is not a valid color name ... "
I can live with the warning ... and of course I could go back and use
S-Plus 2000 ... but it would be cleaner if a fix exists?
Thanks in advance!
===
Madeline Bauer, Ph.D. University of Southern California
Keck School of Medicine (Infectious Diseases)
IRD Room 620 (MC9520), 2020 Zonal Ave, Los Angeles 90033
(323) 226-2775 [Voice] (FAX by appointment ;-)
mbauer@usc.edu [Fastest communication method]
|