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
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 GramlichExactly? 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 figure. barplot(), par(), and text() are your friends. Uwe Ligges
>Message: 26 >From: Joshua Gramlich <jgramlich at piocon.com> >To: "help R (E-mail)" <r-help at stat.math.ethz.ch> >Date: 17 Feb 2003 13:47:32 -0600 >Subject: [R] Graphing > >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 >How about :-) system("sas multitot") where multitot.sas is goptions device=gif; proc gchart; hbar devices; by year; -Michael -- Michael Friendly Email: friendly at yorku.ca Professor, Psychology Dept. York University Voice: 416 736-5115 x66249 Fax: 416 736-5814 4700 Keele Street http://www.math.yorku.ca/SCS/friendly.html Toronto, ONT M3J 1P3 CANADA