[R] Help with objects

From: Russ Abbott <russ.abbott_at_gmail.com>
Date: Mon, 25 Apr 2011 10:28:21 -0700

Hi all,

I would appreciate some help in understanding how to find out about objects. For example, to the extent that I understand R it seems to treat everything as an object even without declaring them as objects. Everything has attributes, for example, which are like instance variables in objects. In addition, there are S3 and S3 category objects. Is there a good introductory description of how these are different from standard R objects and how they are different from each other?

Also, how does one find out more about how objects are declared. For example, Data Mining with
http://www.liaad.up.pt/~ltorgo/DataMiningWithR/code3.html>uses the quantmod package. I am used to Java's JavaDoc where one can see how classes are declared, what the instance variables and methods are, etc. I don't see anything similar for this package. How, for example, would one find out what the instance variables are in a quantmod object and what the methods are that are defined on quantmod objects? I know that there is the standard quantmod documentation, but that doesn't seem to distinguish between standard functions and class-based methods. Nor, as far as I can see, does it describe the instance variables in a quantmod object.


*-- Russ Abbott*
***  Professor, Computer Science*

* California State University, Los Angeles*

        [[alternative HTML version deleted]]

R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Mon 25 Apr 2011 - 17:31:12 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 25 Apr 2011 - 18:30:33 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive