set_names0 {mark} | R Documentation |
Set names
Description
Sets or removes names
Usage
set_names0(x, nm = x)
names_switch(x)
Arguments
x |
A vector of values |
nm |
A vector of names |
Value
-
set_names0()
:x
withnm
values assigned to names (ifx
isNULL
,NULL
is returned) -
remove_names()
:x
without names -
names_switch()
:character
vector of equal lengthx
where names and values are switched
[Package mark version 0.8.0 Index]