attrnames | R Documentation |
Get the names of the attributes of an object
attrnames(object)
object |
Any object |
It just does names(attributes(object))
.
Vector of character strings with the names of the attributes.
x <- matrix(1:100, ncol=5)
colnames(x) <- LETTERS[1:5]
attrnames(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.