Description Usage Arguments Value
View source: R/spectra2colour.R
Converts spectra reflectance into RGB and Munsell colours
1 | spectra2colour(spectra, ...)
|
spectra |
a matrix or dataframe containing the spectra |
... |
other arguments to be passed in the function |
A dataframe with of size the number of bands plus two. The columns correspond to the number of spectral bands. The RBG colours are accessed by the column name 'colour' and the Munsel colours are accessed by the column name 'munsell'. One colour is provided for each spectra. The spectra is also returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.