Skip to content
Prev 301859 / 398503 Next

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

Hello,

Sorry, I forgot the "time series" part of your question. You could use 
instead one of

# 1.  type = "l" gives a line plot
plot(r_wvht ~ date, data = last, type="l")

# 2. use time series object plot
library(zoo)
z <- zoo(last$r_wvht, order.by=last$date)
plot(z)

Rui Barradas

Em 31-07-2012 18:27, Rui Barradas escreveu: