names.onion {onion} | R Documentation |
Functions to get or set the names of an onionic vector.
## S3 method for class 'onion' names(x) ## S3 replacement method for class 'onion' names(x) <- value
x |
Onionic vector |
value |
a character vector of the same length as
‘ |
Names attributes refers to colnames of the internal matrix, which
are retrieved or set using colnames()
or colnames<-()
.
Robin K. S. Hankin
a <- roct(5) names(a) <- letters[1:5]