The R Project SVN R

Rev

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

Rev 61478 Rev 62755
Line 13... Line 13...
13
  plus other optional details.  As a side effect, the class definition
13
  plus other optional details.  As a side effect, the class definition
14
  is stored in the specified environment.  A generator function
14
  is stored in the specified environment.  A generator function
15
  is returned as the value of \code{setClass()}, suitable for creating
15
  is returned as the value of \code{setClass()}, suitable for creating
16
  objects from the class if the class is not virtual.  Of the many
16
  objects from the class if the class is not virtual.  Of the many
17
  arguments to the function only \code{Class},
17
  arguments to the function only \code{Class},
18
  \code{representation} and \code{contains} are usually needed.
18
  \code{slots=} and \code{contains=} are usually needed.
19
}
19
}
20
\usage{
20
\usage{
21
setClass(Class, representation, prototype, contains=character(),
21
setClass(Class, representation, prototype, contains=character(),
22
         validity, access, where, version, sealed, package,
22
         validity, access, where, version, sealed, package,
23
         S3methods = FALSE, slots)
23
         S3methods = FALSE, slots)