dear r folks

i am a bit puzzled about how to use chron as an index xts and why it differs
from zoo.

in this example, why can i index zoo but not xts
x<-1:23
time.of.day <- times(paste(x,":0:0",sep=""),format="h:m:s")
day <- dates("4/8/90")
period <- chron(dates=day,times=time.of.day)
xts(1:23,period)
zoo(1:23,period)

i suspect it might be to do with chron, but i cant see why.  it seems to
behave normally in the way i am trying to use it.

grateful for any help

simeon

        [[alternative HTML version deleted]]

______________________________________________
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.

Reply via email to