You could create this graph using barplot (give a matrix with the input), then use the text and possibly lines or segments functions to add the text and any additional lines needed.
However, this graph is not clear to me, the box with 41 in it looks bigger than the box with 59, are those supposed to be the values of the boxes? Or somethning else. If you can give a better description of what you are trying to accomplish, then maybe we can give better advice (including possibly a better graph to create). -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare [EMAIL PROTECTED] (801) 408-8111 > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of squall44 > Sent: Monday, October 01, 2007 1:42 AM > To: r-help@r-project.org > Subject: [R] how to create this graph? > > > Hello, > > I'm trying to create the following graph: > > http://www.nabble.com/file/p12974686/bar.gif > > Is there a command (like pie(...) or barplot(...)) or is this > just a special case of eg barplot? > > I'd be glad if someone could give me a hint on where to start. > > Regards, > Tobias > -- > View this message in context: > http://www.nabble.com/how-to-create-this-graph--tf4546742.html > #a12974686 > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help@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. > ______________________________________________ R-help@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.