Re: [R] plotting zoo object
Please use dput(x) to display data in your posts in easily copied form. Try this: library(zoo) z - zoo(matrix(1:48, 4, dimnames = list(NULL, month.abb)), 1968:1971) zz - zooreg(c(coredata(z)), start = as.yearmon(1968), freq = 12) You could also consider using a ts series: tt - as.ts(zz) On
[R] plotting zoo object
JAN FEB MAR APR MAY JUN JUL AUG SEP OCT NOV DEC 1968NA 10.710.09.3 7.4 8.1 9.3 9.5 8.5 10.010.013.0 196913.09.9 7.0 5.9 NA 6.5 7.3 6.6 NA NA