I apologize, my original google searches were insufficient to turn up this
archived message:
http://tolstoy.newcastle.edu.au/R/help/06/04/24642.html
...in which my question is answered. Yes, this is the expected behavior,
because range() is designed to operate on difftime objects with any
unit..
Hello again,
I'm interested in manipulating some date objects, and have been
playing with the difftime function. I'm not sure that this is the desired
behavior:
pa$days.before.apr30 <- difftime(may01,as.POSIXct(pa$training.max,origin=as.POSIXct("1969-12-31
16:00:00",tz="PDT")),units="d
2 matches
Mail list logo