Ops on zoo objects
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.