Optional weights to be given to individual observations
Scale
S function specifying how to calculate the scale of the residuals
delta
Nonnegative parameter which may be used to save computation. (See rfbaseline
SORT
Boolean variable indicating whether x data must be sorted.
DOT
Disregard outliers totally (boolean)
init
Values of initial fit
Value
baseline
Matrix of baselines corresponding to spectra spectra
corrected
Matrix of baseline corrected spectra
Details
Most of the code is the original code as given by the authors. The ability to
sort by X-values has been removed and ability to handle multiple spectra
has been added
References
Andreas F. Ruckstuhl, Matthew P. Jacobson, Robert W. Field,
James A. Dodd:
Baseline subtraction using robust local regression estimation