[R] Switching Axis in Time Series plotting

JSmaga jeremie at 4ecap.com
Fri Feb 12 05:44:54 CET 2010

Basically it works, but I use the xts format and the axis are messed up.

plot(c(time(ser)) ~ c(ser), type = "l")
Error in as.POSIXct.default(x) : 
  do not know how to convert 'x' to class "POSIXlt"

I don't know why do you have any idea?

Besides, why do you use the c(...) function in your code ?

And finally, i am not used to the ~ operator and the R doc did not help me,
could you tell me what it does?

Sorry for all the questions...

View this message in context: http://n4.nabble.com/Switching-Axis-in-Time-Series-plotting-tp1478067p1478108.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list