Description Usage Arguments Examples
Get or set the names of a list by expression
1 | list.names(.data, expr)
|
.data |
A |
expr |
the expression whose value will be set as the name
for each list element. If missing then the names of the list will be
returned. If |
1 2 3 4 | list.names(c(1,2,3))
list.names(c(a=1,b=2,c=3))
list.names(c(1,2,3),letters[.])
list.names(list(list(name='A',value=10),list(name='B',value=20)), name)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.