[R] Vertical bars with barchart

G. Draisma g.draisma at erasmusmc.nl
Fri Apr 18 12:00:13 CEST 2008


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



More information about the R-help mailing list