Skip to content
Back to formatted view

Raw Message

Message-ID: <971536df0801070753j3b147929y674f0d616a430cbb@mail.gmail.com>
Date: 2008-01-07T15:53:25Z
From: Gabor Grothendieck
Subject: Ops on zoo objects
In-Reply-To: <1865010801070740s1e5fcb95mda852280f4e50368@mail.gmail.com>

On Jan 7, 2008 10:40 AM, Ian Seow <ianseow at gmail.com> wrote:
> Amazing!! Thank you very much Gabor for your excellent suggestion...
> certainly saved me lots of hair-pulling :) Btw, are there any
> resources where I can read up about OOP with R? Esp. the syntax used
> here in this solution... it's pretty new to me... so far most of the R
> code I've encountered are mainly to do with statistical analysis,
> haven't really come across examples on encapsulation, inheritance,
> polymorphism etc etc with R. Thanks again for the great help!
>

MASS has a brief discussion of S3 which should be sufficient.
Beyond that read the source of zoo or other S3 package.