[R] Use of contains in S4 classes

From: Ross Boylan <ross_at_biostat.ucsf.edu>
Date: Fri 19 Aug 2005 - 07:14:31 EST

setClass("B", representation=representation("B", extra="numeric)) setClass("B", representation=representation(extra="numeric"),

Are these the same? If not, how do they differ?

What about
setClass("B", representation=representation("B", extra="numeric"),


As far as I can tell, the Green Book doesn't talk about a contains argument to setClass.

Ross Boylan                                      wk:  (415) 502-4031
530 Parnassus Avenue (Library) rm 115-4          ross@biostat.ucsf.edu
Dept of Epidemiology and Biostatistics           fax: (415) 476-9856
University of California, San Francisco
San Francisco, CA 94143-0840                     hm:  (415) 550-1062

R-help@stat.math.ethz.ch mailing list
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Fri Aug 19 07:19:37 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:39:54 EST