[R] classes with chron slots

Sebastian Luque spluque at gmail.com
Thu Jun 23 15:29:09 CEST 2005


Thanks a lot Martin and Gabor!


On Thu, 23 Jun 2005 08:20:44 -0400,
Gabor Grothendieck <ggrothendieck at gmail.com> wrote:

[...]

> Also if you are referring to the chron package then 
> the names of the chron classes are 'dates' and 'times' -- not 'chron'.

However, when the object has both dates and times, then the class becomes
'chron', inheriting both 'dates' and 'times':

R> class(x)
[1] "chron" "dates" "times"

in the same example.

Cheers,
Sebastian
-- 
Sebastian P. Luque




More information about the R-help mailing list