Skip to content
Prev 163844 / 398506 Next

How to retrieve a method

On Fri, 5 Dec 2008, Christian Hoffmann wrote:

            
methods("wilcox.test")
getS3method("wilcox.test", "default")

Uwe Ligges wrote an article in R-News about this in issue 6(4), although 
this particular usage (the most general for S3 methods) seems not to be 
there.

[Note for the cognescenti:  the S3 method for function foo() of class bar 
need not be foo.bar() if no such function is visible and registration was 
used.  I'm not aware of any public package that does that though.]