Description Usage Arguments Value Author(s) Examples
View source: R/pub01_utilityFuncs.R
ggplot.ts.area
1 2  | 
ts | 
 a zoo, timeSeries or xts object  | 
main | 
 chart title , character string  | 
... | 
 other arguments passed to function   | 
a area chart of class ggplot
Ruifei.Yin
1 2 3 4  | rtn.long <- zoo(rnorm(100,0.001,0.02),as.Date("2010-01-01")+1:100)
rtn.short <- rtn.long + rnorm(100,-0.001,0.003)
rtn <- merge(rtn.long,rtn.short)
ggplot.ts.area(rtn)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.