[R] Plotting POSIXct data: Is this error message for real?
p.connolly at hortresearch.co.nz
Mon Feb 17 23:35:04 CET 2003
system i686, linux-gnu
> x <- paste(1:28, "/02/03", sep = "")
> xct <- as.POSIXct(strptime(x, "%d/%m/%y"))
> count <- rpois(28, 5)
> plot(xct, count, ylab = "something")
parameter "ylab" couldn't be set in high-level plot() function
Even though "ylab" can't be set, the resulting plot does succeed.
> plot(as.numeric(xct), count, ylab = "something")
No error (but of course, the x axis isn't much use).
Should the warning really be given?
Ph: +64-9 815 4200 x 7188
I have the world`s largest collection of seashells. I keep it on all
the beaches of the world ... Perhaps you`ve seen it. ---Steven Wright
More information about the R-help