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
Hi guys,
I would like to know if it is possible to switch the X Y axis when plotting
a time series.
Precisely, what I would like to do is having the dates on the Y axis, and
the numbers on the X axis.
I know it is pretty uncommon but it would help me a lot!
Thanks,
Jeremie
--
View this messa
--
View this message in context:
http://n4.nabble.com/Switching-tp1478064p1478064.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posti
3 matches
Mail list logo