powered by
labels
## S3 method for class 'hyperSpec': labels(object, which = NULL, drop = TRUE, \dots) labels (object, which = NULL, ...) <- value
logentry
drop
TRUE
labels<- returns a hyperSpec object.
labels<-
hyperSpec
value
which
The names of the labels are the same as the colnames of the data.frame. The label for the wavelength axis has the name .wavelength.
data.frame
.wavelength
The labels should be given in a form ready for the text-drawing functions (see plotmath), e.g. as expression or a character.
plotmath
expression
character
labels (chondro) labels (flu, "c") <- expression ("/" ("c", "mg / l"))
Run the code above in your browser using DataLab