[R] barplot(2?) with CI from a zero reference line

Mulholland, Tom Tom.Mulholland at dpi.wa.gov.au
Fri Nov 26 08:55:13 CET 2004

I didn't know how to do this but I knew it had to been asked about.

Try getS3method("barplot2","default")

Make sure you've loaded gplots. I guessed "default", but I wonder how you would find out the class if it had been something else. I guess that's something to work on when I'm next twiddling my thumbs.

Tom Mulholland

-----Original Message-----
From: Jean-Louis Abitbol [mailto:abitbol at sent.com]
Sent: Friday, 26 November 2004 2:56 PM
To: r-help at stat.math.ethz.ch
Subject: [R] barplot(2?) with CI from a zero reference line

Dear R Users, (and dear Marc)

First of all many thanks for the answers to my previous questions.

I would like to barplot the mean percent change of a variate with it's
CI. Bars should start from the zero reference line to height (in

Is there a way to tweak barplot2, for example,  to do that ? 

I have tried to see what the function was but unlike other functions was
not able to list it by > barplot2. Is it because it is called through
UseMethods ? 

Thanks for any help.


R-help at stat.math.ethz.ch mailing list
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

More information about the R-help mailing list