[R] how to create this graph?

Greg Snow Greg.Snow at intermountainmail.org
Tue Oct 2 19:29:50 CEST 2007


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
greg.snow at intermountainmail.org
(801) 408-8111
 
 

> -----Original Message-----
> From: r-help-bounces at r-project.org 
> [mailto:r-help-bounces at r-project.org] On Behalf Of squall44
> Sent: Monday, October 01, 2007 1:42 AM
> To: r-help at 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 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.
> 



More information about the R-help mailing list