Skip to content
Prev 301895 / 398503 Next

time series line plot: Error in plot.window(...) : invalid 'xlim' value

Hello,

Inline.
Em 31-07-2012 21:45, Yolande Tra escreveu:
Before creating the zoo object, you MUST change the class of last1$date 
to Date:

last1$date <- as.Date(last1$Date, format="%m/%d/%Y")

If not, it's a character vector, NOT a date.
And plot.zoo doesn't recognize valid x axis values.

Rui Barradas