The R Project SVN R

Rev

Rev 71468 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 71468 Rev 71529
Line 56... Line 56...
56
 
56
 
57
 
57
 
58
where \code{Classes} is the character vector that would be the
58
where \code{Classes} is the character vector that would be the
59
  \code{class} attribute of the S3 object. Calls to
59
  \code{class} attribute of the S3 object. Calls to
60
  \code{setOldClass()} in the code for a package
60
  \code{setOldClass()} in the code for a package
61
  allow the class to be used as a slot in formal classes and in
61
  allow the class to be used as a slot in formal (S4) classes and in
62
  signatures for methods (see \link{Methods_for_S3}).
62
  signatures for methods (see \link{Methods_for_S3}).
-
 
63
  Formal classes can also contain a registered S3 class (see
-
 
64
  \link{S3Part} for details).
63
 
65
 
64
  If the S3 class has a known set of attributes, an
66
  If the S3 class has a known set of attributes, an
65
  equivalent S4 class can be specified by \code{S4Class=} in the call to
67
  equivalent S4 class can be specified by \code{S4Class=} in the call to
66
  \code{setOldClass()}; see the section on \sQuote{Known Attributes}.
68
  \code{setOldClass()}; see the section  \dQuote{Known Attributes}.
67
}
69
}
68
 
70
 
69
\usage{
71
\usage{
70
setOldClass(Classes, prototype, where, test = FALSE, S4Class)
72
setOldClass(Classes, prototype, where, test = FALSE, S4Class)
71
}
73
}