Re: [R] Date and lattice

2007-11-19 Thread Petr PIKAL
[EMAIL PROTECTED] napsal dne 19.11.2007 15:38:26: > Petr PIKAL precheza.cz> writes: > > > > > I just encountered a strange behaviour trying to plot lattice xyplot with > > dates on x axis > > > > xyplot(rnorm(10)~seq(as.Date("2000/1/1"), by="month", > > length=10)|sample(1:2, 10, replace=T

Re: [R] Date and lattice

2007-11-19 Thread Dieter Menne
Petr PIKAL precheza.cz> writes: > > I just encountered a strange behaviour trying to plot lattice xyplot with > dates on x axis > > xyplot(rnorm(10)~seq(as.Date("2000/1/1"), by="month", > length=10)|sample(1:2, 10, replace=T)) > > Warning message: > is.na() applied to non-(list or vector) i

[R] Date and lattice

2007-11-19 Thread Petr PIKAL
Dear all I just encountered a strange behaviour trying to plot lattice xyplot with dates on x axis xyplot(rnorm(10)~seq(as.Date("2000/1/1"), by="month", length=10)|sample(1:2, 10, replace=T)) Warning message: is.na() applied to non-(list or vector) in: is.na(x) and no points were plotted. I