powered by
Functions to get or set the names of an onionic vector.
# S3 method for onion names(x) # S3 method for onion names(x) <- value
Onionic vector
a character vector of the same length as ‘x’, or NULL
x
NULL
Names attributes refers to colnames of the internal matrix, which are retrieved or set using colnames() or colnames<-().
colnames()
colnames<-()
# NOT RUN { a <- roct(5) names(a) <- letters[1:5] # }
Run the code above in your browser using DataLab