[R] component chart

Angela Benette b.angela at lycos.com
Thu Jul 5 12:48:40 CEST 2001


		   [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 at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list