Re: [R] how to handle irregularly spaced data as timeseries

2008-12-02 Thread Gabor Grothendieck
Have a look at the zoo package. There are three vignettes (pdf documents) included with the package that give many examples of its use. Also see ?read.zoo, ?plot.zoo and ?xyplot.zoo You will need something like: library(zoo) z <- read.zoo("myfile", ...whatever...) plot(z) On Tue, Dec 2, 2008

[R] how to handle irregularly spaced data as timeseries

2008-12-02 Thread Kirk Wythers
I have a set of modeled climate data recorded at irregular intervals. The format of the data is such that there are monthly measurements for the years 2000, 2020, 2050, 2080, etc. Therefore I have 12 regular records, a skip of some number of years, then 12 more monthly records, another skip