[R] Accessing methods and extending S4 classes of existing packages

From: Johannes Huesing <johannes_at_huesing.name>
Date: Sun, 29 Jun 2008 08:13:27 +0200

Dear all,
I am trying to understand how to access S4 methods after loading a package, using the online documentation of getMethod and friends.

This is what I have been trying:
> library(coin)
> findMethods("ApproxNullDistribution")
Warning message:
In findMethods("ApproxNullDistribution") :   nicht-generische Funktion an findMethods() ├╝bergeben

whereas in the source of coin I can see the lines:

setGeneric("ApproxNullDistribution", function(object, ...)


It seems that I am not getting what is going on here. Could anybody give me a hint?



Johannes H├╝sing               There is something fascinating about science. 
                              One gets such wholesale returns of conjecture 
mailto:johannes_at_huesing.name  from such a trifling investment of fact.                
http://derwisch.wikidot.com         (Mark Twain, "Life on the Mississippi")

R-help_at_r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Sun 29 Jun 2008 - 06:17:35 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 29 Jun 2008 - 19:31:10 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive