list.names | R Documentation |
Get or set the names of a list by expression
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 |
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.