Skip to content

Classes and methods

4 messages · Laura Holt, Gabor Grothendieck, Bert Gunter +1 more

#
Hi R people:

I would like to learn about classes, methods, S3 and S4.

Which book would be the most helpful for this info, please:  the green one 
or the white(and blue) one?

Or is there something that would be even better, please?


Thanks in advance.

Sincerely,
Laura Holt
mailto: lauraholt_983 at hotmail.com
R 2.1.0 Windows.
trying to learn
#
On 5/3/05, Laura Holt <lauraholt_983 at hotmail.com> wrote:
Reading the source of a few packages:  R2HTML (S3), zoo (S3)
and its (S4) would get you up to speed quickly.
#
I **Highly** recommend V&R's S PROGRAMMING.

AFAIK, the R (or S-Plus) implementation of S4 classes is not exactly as
given by the Green book, which is the authorative reference, however. 

-- Bert Gunter
Genentech Non-Clinical Statistics
South San Francisco, CA
 
"The business of the statistician is to catalyze the scientific learning
process."  - George E. P. Box
#
On May 3, 2005, at 2:53 PM, Gabor Grothendieck wrote:

            
I just did some of this learning myself.  Here are a couple of links 
that I found useful:

http://www.stat.auckland.ac.nz/S-Workshop/Gentleman/S4Objects.pdf
http://eeyore.ucdavis.edu/stat250/OOP.html

I found the first particularly easy reading and it got me going quickly 
with S4 methods, which it seems to me are the way to go in most cases.

Sean