[R] Discovering methods

Duncan Murdoch dmurdoch at pair.com
Mon Dec 1 04:43:36 CET 2003


On Sun, 30 Nov 2003 20:55:49 -0500 (EST), you wrote:

>
>
>Thanks.  I guess we have to be content to approximate this via:
>
>   apropos("POSIXt$|POSIXct$")
>
>although this supposes we know that POSIXct inherits from POSIXt
>and its not clear that there is a reliable way to discover that
>for S3 classes.
>

I don't think there's a concept of inheritance of classes in S3.
That's one of the advantages of S4.

Duncan Murdoch




More information about the R-help mailing list