Re: [R] zoo in ggplot2

2008-10-19 Thread Gabor Grothendieck
zoo does have plot.zoo and xyplot.zoo library(zoo) xyplot(d) plot(d) but there is no zoo method for ggplot2 currently; however, you can qplot d from its constituent pieces: library(ggplot2); library(zoo) qplot(time(d), coredata(d)) On Sun, Oct 19, 2008 at 11:22 AM, stephen sefick <[EMAIL PROTEC

[R] zoo in ggplot2

2008-10-19 Thread stephen sefick
library(zoo) d<-(structure(c(1.39981554315924, 0.89196314359498, 0.407816250252697, 0.823496839063978, 1.14429021220358, 1.23971035967413, 0.960868900583432, 0.927685306209829, 1.22072345292821, 0.249842897450642, 1.00879641624694, 0.925372139878243, 0.317259909172362, 0.382677149697482), index = s