Rdocumentation
powered by
Learn R Programming
roxygen2 (version 3.1.0)
object: Constructors for S3 object to represent R object.
Description
These objects are usually created by the parsers, but it is also useful to generate them by hand for testing.
Usage
object(subclass, name, value, ..., alias = NULL)
Arguments
subclass
This is an abstract class so this must be provided. Currently this is one of "function", "s4generic", "s4class", "s4method", "rcclass", or "data".
name
Name of the object being documented
value
The object itself.
...
optional additional fields used by subclasses
alias
Used for
setClass
and
setRefClass
to capture the name of the created object.