[R] Referring to objects themselves
Gabor Grothendieck
ggrothendieck at gmail.com
Sun Mar 20 00:40:57 CET 2011
On Sat, Mar 19, 2011 at 6:34 PM, Russ Abbott <russ.abbott at gmail.com> wrote:
> Is it possible to refer to an object from within a method, as in *this *in
> Java? I can't find anything about this in the documentation. Sorry if I
> missed it.
>
Assuming you are referring to S3, the first argument to a method is
the object (unless specified otherwise in the UseMethod call but that
is rarely done).
--
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com
More information about the R-help
mailing list