Description Usage Arguments Value Author(s) Examples
The function extracts the value(s) in a named vector by given name(s), in case no element is found with the given name, NA will be returned
1 |
vector |
A named vector of any data type |
name |
Wanted name |
The elements with the given name, 'NA' in case no one was found
Jitao David Zhang mailto:jitao_david.zhang@roche.com
1 2 3 | vec <- c(first="Hamburg", second="Hoffenheim",third="Bremen")
getNamedElement(vec, "third")
getNamedElement(vec, "last")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.