powered by
value Assigns the rhs to the value of the lhs spectra obj
value
value(x) <- value
nothing. called for its side effect
spectra object
value to be assigned to the lhs
Jose Eduardo Meireles
library(spectrolab) spec = as_spectra(spec_matrix_example, name_idx = 1) # scale all refletance values by 2 value(spec) = value(spec) * 2
Run the code above in your browser using DataLab