onion (version 1.2-7)

names.onion: Names of an onionic vector

Description

Functions to get or set the names of an onionic vector.

Usage

# S3 method for onion
names(x)
# S3 method for onion
names(x) <- value

Arguments

x

Onionic vector

value

a character vector of the same length as ‘x’, or NULL

Details

Names attributes refers to colnames of the internal matrix, which are retrieved or set using colnames() or colnames<-().

Examples

Run this code
# NOT RUN {
a <- roct(5)
names(a) <- letters[1:5]
# }

Run the code above in your browser using DataLab