Description Usage Arguments Methods (by generic)
Extraction methods return NULL if the item is not defined, just like for lists.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | getElement.vital(object, name)
## S3 method for class 'vital'
x$name
## S3 replacement method for class 'vital'
x$i <- value
## S3 replacement method for class 'vital'
x[[i]] <- value
## S3 method for class 'vital'
x[[i]]
## S3 method for class 'vital'
x[i]
|
x, object |
The vital function. |
i, name |
The name of the item to extract. |
value |
The new value to assign. |
$
: Extract items from the environment of a vital function.
$<-
: Assign to environment of a vital function.
[[<-
: Assign to environment of a vital function.
[[
: Extract items from the environment of a vital function.
[
: Extract multiple items from the environment of a vital function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.