| value<- | R Documentation | 
value Assigns the rhs to the value of the lhs spectra obj
value(x) <- value
| x | spectra object | 
| value | value to be assigned to the lhs | 
nothing. called for its side effect
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.