compnames(S), S a structure |
Usage compnames(struc) returns a CHARACTER vector containing the names of the components of STRUCTURE struc. Example Cmd>compnames(structure(a:1,b:2,c:17)) # returns vector("a","b","c"). (1) "a" (2) "b" (3) "c" Cross references See also topics structure(), strconcat(), changestr(), 'structures', nameof(), varnames()