| set_names0 | R Documentation |
Sets or removes names
set_names0(x, nm = x)
names_switch(x)
x |
A vector of values |
nm |
A vector of names |
set_names0(): x with nm values assigned to names (if x is NULL,
NULL is returned)
remove_names(): x without names
names_switch(): character vector of equal length x where names and
values are switched
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.