ggplot.ts.area: ggplot.ts.area

Description Usage Arguments Value Author(s) Examples

View source: R/pub01_utilityFuncs.R

Description

ggplot.ts.area

Usage

1
2
## S3 method for class 'ts.area'
ggplot(ts, main = NULL, ...)

Arguments

ts

a zoo, timeSeries or xts object

main

chart title , character string

...

other arguments passed to function geom_area

Value

a area chart of class ggplot

Author(s)

Ruifei.Yin

Examples

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)

raphael210/QUtility documentation built on May 26, 2019, 11:05 p.m.