Re: [R] How to understand whether a class is a S3 class?

2010-08-02 Thread Adrian Waddell
Megh Dal yahoo.com> writes: > > Hi, is there any way to say: "this class 'x' is a S3 class?" For example what > is the type of class "data.frame"? > Is it a S3 class or S4? > > How can I get a complete list of all S3 classes currently available? > > Thanks, > > There is the isS4 function

Re: [R] How to understand whether a class is a S3 class?

2010-08-02 Thread David Winsemius
On Aug 1, 2010, at 2:08 PM, Megh Dal wrote: Hi, is there any way to say: "this class 'x' is a S3 class?" For example what is the type of class "data.frame"? Is it a S3 class or S4? S3 and S4 refer to methods, i.e. functions; "class" is an attribute of objects. And I am not sure that the

[R] How to understand whether a class is a S3 class?

2010-08-01 Thread Megh Dal
Hi, is there any way to say: "this class 'x' is a S3 class?" For example what is the type of class "data.frame"? Is it a S3 class or S4? How can I get a complete list of all S3 classes currently available? Thanks, __ R-help@r-project.org mailing list