setNames2 | R Documentation |
setNames2
convenience function to set all names of a vector
setNames2(vec, nm, useempty = FALSE)
vec |
vector |
nm |
character |
named vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.