Re: SV: [R] Documentation of S3 and S4 classes, inheritance

From: Ross Boylan <ross_at_biostat.ucsf.edu>
Date: Tue 24 May 2005 - 08:47:16 EST

On Tue, 2005-05-24 at 00:31 +0200, Søren Højsgaard wrote:
> >One of the things that S3 is lacking is clearly multiple inheritance,
I thought if you wanted C to inherit from A and B you could, in S3, just

   class(aCObject)<- c('C', 'A', 'B')
While the ordering is arbitrary, that's usually the case with multiple inheritance.



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue May 24 08:58:35 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:01 EST