powered by
Get the names of the attributes of an input object.
attrnames(obj)
Any object.
Vector of character strings with the names of the attributes.
# NOT RUN { x <- matrix(1:100, ncol = 5) colnames(x) <- LETTERS[1:5] attrnames(x) # }
Run the code above in your browser using DataLab