title: R and stacked area charts?
body: <p>Greetings,</p>
  
  <p>I have three TS variables resembling something like the following:</p>
  
  <pre><code>data &lt;- read.csv(...)
  dataA = zoo(data$valueA, data$date)
  dataB = zoo(data$valueB, data$date)
  dataC = zoo(data$valueC, data$date)
  
  days = seq(start(dataA), end(dataA), "day")
  
  dataAts = na.locf(merge(dataA, zoo(,days)))
  dataBts = na.locf(merge(dataB, zoo(,days)))
  dataCts = na.locf(merge(dataC, zoo(,days)))
  </code></pre>
  
  <p>I need to draw dataAts, dataBts and dataCts as a stacked area chart in R. I've tried to use plotrix, but I'm not proficient enough to get the matrix in the right form. </p>
  
  <p>Please Note that dataAts, dataBts and dataCts are not already accumulated, so it is not just a matter of drawing the three of them in the correct order (unless you can come up with a way of summing them up on-the-fly).</p>
  
  <p>Can anyone PLEASE help me?</p>
  
  <p>Thanks in advance...</p>