search for: vixcurrent

Displaying 1 result from an estimated 1 matches for "vixcurrent".

Did you mean: auxcurrent
2008 Nov 04
2
ggplot & annotating charts
...ode is below I suspect I need to use geom_rect, but what is foxing me is how to set up the aes() parameters. I'd be very grateful for any help thanks simeon ################### require(zoo) require(chron) vix <-read.csv(" http://www.cboe.com/publish/ScheduledTask/MktData/datahouse/vixcurrent.csv", header=T,sep=",", na.strings="") names(vix) <- tolower(names(vix)) vix$dates <- chron(as.character(vix$date),out.format="d-mon-y") vix.z <- zoo(vix[,-1],vix$dates) vix.close1<-aggregate(vix.z[,4],as.yearmon,max) # 1990 - 2003 vix....