Description Usage Arguments Value See Also
Get or set the values stored in slots of an object of class
Prototype
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | archetype(x)
enclosure(x)
constructor(x)
archetype(x) <- value
enclosure(x) <- value
constructor(x) <- value
## S4 method for signature 'Prototype'
archetype(x)
## S4 method for signature 'Prototype'
enclosure(x)
## S4 method for signature 'Prototype'
constructor(x)
## S4 replacement method for signature 'Prototype'
archetype(x) <- value
## S4 replacement method for signature 'Prototype'
enclosure(x) <- value
## S4 replacement method for signature 'Prototype'
constructor(x) <- value
|
x |
conceptually, any R object. |
value |
depends of the function used.
|
archetype()
returns any R object, depending on what is stored in
slot archetype
.
enclosure()
returns an environment
, possibly a
(package's) namespace
.
constructor()
returns an unevaluated call
.
Functions archetype<-()
, enclosure<-()
and
constructor<-()
update x
and return its updated version
invisibly.
Other Prototype:
Prototype-class
,
Prototype-validators
,
is_prototype()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.