attrnames: Get names of attributes

View source: R/attrnames.R

attrnamesR Documentation

Get names of attributes

Description

Get the names of the attributes of an object

Usage

attrnames(object)

Arguments

object

Any object

Details

It just does names(attributes(object)).

Value

Vector of character strings with the names of the attributes.

Examples

x <- matrix(1:100, ncol=5)
colnames(x) <- LETTERS[1:5]
attrnames(x)

broman documentation built on May 29, 2024, 7:18 a.m.

Related to attrnames in broman...