[R] Graphing

Uwe Ligges ligges at statistik.uni-dortmund.de
Mon Feb 17 21:24:03 CET 2003

Joshua Gramlich wrote:
> I think this may be a histogram, but I'm not sure.  Can anyone tell me
> how to replicate this graph in R?
> http://www.ginworks.com/images/multitot.gif
> Thanks,
> Joshua Gramlich

Exactly? I think the visualization given at that URL could be improved.

A barplot() in R might be a appropriate solution, because a histogram
implies a continuous distribution (looks like a discrete one). You have
to play with margin sizes in order to print all that text into the

barplot(), par(), and text() are your friends.

Uwe Ligges

More information about the R-help mailing list