Description Usage Arguments Value
Create a spectra object
1 | spectra(reflectance, wavelengths, names, meta = NULL, ...)
|
reflectance |
N by M numeric matrix. N samples in rows. values between 0 and 1. |
wavelengths |
wavelength names in vector of length M |
names |
sample names in vector of length N |
meta |
spectra metadata. defaults to NULL. Must be either of length or nrow equals to the number of samples (i.e. nrow(reflectance) or length(names) ) |
spectra object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.