View source: R/spectralPreprocessing.R
localBaselineCorrect | R Documentation |
Substract a baseline either through 1 or 2 points
localBaselineCorrect(object, baseWavelengths = NULL)
object |
|
baseWavelengths |
numeric vector of 1 or 2 wavelength use to draw a baseline trough,
defaults to |
SpectraInTime-class
with baseline subset
Adriaan Blommaert
spectra <- getSpectraInTimeExample() spectraConstCorrect <- localBaselineCorrect( spectra , baseWavelengths = 240 ) spectraLinCorrect <- localBaselineCorrect( spectra , c( 250 , 330 ) ) plot( spectra ) plot( spectraConstCorrect ) plot( spectraLinCorrect )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.