powered by
bands sets band labels of lhs to the rhs values
bands
bands(x) <- value
nothing. called for its side effect.
spectra object (lhs)
rhs
Jose Eduardo Meireles
library(spectrolab) spec = as_spectra(spec_matrix_example, name_idx = 1) bands(spec) = bands(spec) / 1000
Run the code above in your browser using DataLab