View source: R/spectralCalculationsNick.R
calculateBandRatio | R Documentation |
Calculate a Band Ratio
calculateBandRatio(normData, normWavelengths, tol = 1, top = 570, bot = 630)
normData |
Normalized spectral data (the output of 'specimR::calculateMeanRows()') |
normWavelengths |
A vector of wavelengths (the output of 'specimR::calculateMeanRows()') |
tol |
Tolerance for distance from the requested wavelength. If no values are present within the tolerance, this returns an error. If multiple are present, this returns the average of those values. |
top |
the wavelength in the top of the ratio (the numerator) (default = 570) |
bot |
the wavelength in the top of the ratio (the denominator) (default = 630) |
a depth series of the band ratio
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.