Skip to content
Prev 70260 / 398506 Next

S4 method inheritance

On Mon, 2005-05-23 at 14:41 -0700, Ross Boylan wrote:
....
Hmm, maybe I just found out.  If B is an S4 subclass of A (aka extends
A), how does B's method foo invoke A's foo?

The question assumes that A's foo was defined as an in place function,
so there's no (obvious) named object for it, i.e,
setMethod("A", signature(blah="numeric"), function(x) something)