Vertical bars with barchart()
I am not quite sure what do you mean with barchart (I have not the particular book) but I think barplot() is what you are looking for. Try barplot(rnorm(10)) barplot(rnorm(10), horiz=TRUE) regards, Ott Toomet
On Tue, 26 Mar 2002, Waichler, Scott R wrote:
| |I would like to create a barchart that has vertical instead of horizontal |bars. My goal is something similar to Figure 6.10 (p. 166) in |"The Basics of S and S-plus," except for the orientation of the bars. |I don't think bwplot() or xyplot() will work. Any suggestions? | |Scott Waichler | |Hydrology Group/Environmental Technology Division |Battelle Pacific Northwest National Laboratory |(email) scott.waichler at pnl.gov | |-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- |r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html |Send "info", "help", or "[un]subscribe" |(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch |_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._ | -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._