R/crfun.R
crfun.Rd
adapted from propsectr function https://github.com/l-ramirez-lopez/prospectr/blob/main/R/continuumRemoval.R
crfun(x, wav, interpol)
numeric. original spectrum
numeric. central wavelength for the spectral bands
character. linear or spline
continuum removed spectrum