Group: | Matrix Manipulation |
Topic: | Sorting and Counting |
See also: | list append delete insert |
Function: | names | |
Description: | gives the names of all components of a list object. |
Usage: | n = names (l) | |
Input: | ||
l | list | |
n | string vector |
l = list(11, 99) n = names(l) n
Contents of n [1,] "el1" [2,] "el2"