Re: [R] classes with chron slots

From: Gabor Grothendieck <ggrothendieck_at_gmail.com>
Date: Fri 24 Jun 2005 - 00:01:15 EST

On 6/23/05, Sebastian Luque <spluque@gmail.com> wrote:
> Thanks a lot Martin and Gabor!
>
>
> On Thu, 23 Jun 2005 08:20:44 -0400,
> Gabor Grothendieck <ggrothendieck@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"

Did you try the example I posted? Its self contained and reproducible and it inherits from both "dates" and "times" yet there is no "chron" in the class vector, at least in that case.



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Jun 24 00:05:30 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:58 EST