From vqnguyen at uci.edu  Wed Oct  6 02:21:20 2010
From: vqnguyen at uci.edu (Vinh Nguyen)
Date: Tue, 5 Oct 2010 17:21:20 -0700
Subject: [Rd] args() and body() equivalents for S4 methods?
In-Reply-To: <AANLkTinTuQs8RoWADcYS5oCy+e+7KXACYTRO8=8Jj-F1@mail.gmail.com>
References: <AANLkTinoqP9U=5-PEEP67FfQXUHxErnx5ptXZKQLFcni@mail.gmail.com>
	<AANLkTinTuQs8RoWADcYS5oCy+e+7KXACYTRO8=8Jj-F1@mail.gmail.com>
Message-ID: <AANLkTim2J4kcf9o-18Nd_K4FsFw_OEXyw-kVK4fCSaTX@mail.gmail.com>

On Tue, Oct 5, 2010 at 4:45 PM, Thomas Lumley <tlumley at uw.edu> wrote:
> You could define
>
> args4<-function(generic, signature) args(getMethod(generic,signature))
> and
> body4<-function(generic, signature) body(getMethod(generic,signature))
>
> or use selectMethod() instead of getMethod() if you want to find
> inherited methods.
>
> ? -thomas

Thanks Professor Lumley, this is sufficient.



[Rd] args() and body() equivalents for S4 methods?
Vinh Nguyen