It seems David and Phil have given you all the pieces and you are not
listening. Try:
h = sprintf('%06d', seq(070000,180000, by=10000) ) # Note that h is text
myseries=sample(1:12, 12) #fake data to plot
tim=strptime(h,'%H%M%S')
library(zoo)
test=zoo(myseries, tim)
plot(test)
Rob
--------------------------------------------------
From: "Manta" <mantin...@libero.it>
Sent: Wednesday, October 20, 2010 10:08 AM
To: <r-help@r-project.org>
Subject: Re: [R] Chron object in time series plot
Sorry R community, I am still stucked wit this. How can avoid the x-limit
error?
--
View this message in context:
http://r.789695.n4.nabble.com/Chron-object-in-time-series-plot-tp3002285p3004070.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 posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.