Re: [R] different time series in one plot

2009-10-09 Thread Giovanni Petris
> Date: Fri, 09 Oct 2009 18:18:05 +0200 > From: Tomas Lanczos > Sender: r-help-boun...@r-project.org > Precedence: list > > Hello, > > I need to put 2 or more different time series to one plot for comparison > each other. The problem is that the time series are irregular, moreover > the time le

Re: [R] different time series in one plot

2009-10-09 Thread Gabor Grothendieck
plot.zoo and xyplot.zoo in the zoo package can both do that: library(zoo) z <- zoo(c(21, 34, 33, 41, 39, 38, 37, 28, 33, 40), as.Date(c("1992-01-10", "1992-01-17", "1992-01-24", "1992-01-31", "1992-02-07", "1992-02-14", "1992-02-21", "1992-02-28", "1992-03-06", "1992-03-13"))) #

[R] different time series in one plot

2009-10-09 Thread Tomas Lanczos
Hello, I need to put 2 or more different time series to one plot for comparison each other. The problem is that the time series are irregular, moreover the time lenghts and periods are not the same. Is there a way to manage it in R? Many thanks for any hint and advice in advance Tomas _