[R] Vertical bars with barchart

From: G. Draisma <g.draisma_at_erasmusmc.nl>
Date: Fri, 18 Apr 2008 12:00:13 +0200


Hallo,
What is the right way to get vertical bars in a barchart?

For instance

   barchart(VADeaths,
   key=simpleKey(colnames(VADeaths),points=F,rectangles=T)) gives what I need,
only I would like the bars to be vertical. But

   barchart(VADeaths,horizontal=F,
   key=simpleKey(colnames(VADeaths),points=F,rectangles=T)) does not give what I need,
and I do not understand how to change the dimensions accordingly.

Thanks,
Gerrit.

-- 
Gerrit Draisma
Department of Public Health
Erasmus MC, University Medical Center Rotterdam
Room AE-103
P.O. Box 2040 3000 CA  Rotterdam The Netherlands
Phone: +31 10 7043124 Fax: +31 10 010-7038474
http://mgzlx4.erasmusmc.nl/pwp/?gdraisma

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Fri 18 Apr 2008 - 11:00:45 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 Fri 18 Apr 2008 - 11:30:31 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive