[R] Discovering methods

Thomas Lumley tlumley at u.washington.edu
Sun Nov 30 22:10:52 CET 2003


On Fri, 28 Nov 2003, Gabor Grothendieck wrote:

>
>
> Sure, but why are some methods found using methods("POSIXct")
> while other methods not found?
>
> It would be nice to have some reliable documentation-independent
> way to discover all the methods for a class.

Indeed it would, but that requires registration of methods using either
the S4 approach or the functions for handling S3 methods in namespaces.

Without this, it is simply not possible to decide, for example, whether
t.test.formula is a method for t() or for t.test() or a separate function.


	-thomas




More information about the R-help mailing list