[R] component chart

About this list Date view Thread view Subject view Author view Attachment view

From: Angela Benette (b.angela@lycos.com)
Date: Thu 05 Jul 2001 - 20:48:40 EST


Message-id: <IMBBIIMDNMLGAAAA@mailcity.com>


                   [this mail needed manual approval by the list maintainer
                    because lycos.com seems to append two lines of Spam.
                    Please consider NOT using lycos anymore...
                    Martin Maechler, R lists maintainer ]
                           
newbie-question

How do I create a component chart using R? For example, given the following data:
 
              1994
sales 80,000
maintenace 20,000

I want to create a horizontal bar graph where sales starts from 0 to 80,000 and maintenance starts from 80,000 to 100,000. I also want to display the total as another bar starting from 0 to 100,000.

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Wed 10 Mar 2004 - 08:18:19 EST