Arguments
x
numeric vector containing abcissas of spectra to be corrected, reference spectrum
with/without names or matrix to be corrected.
reference
numeric vector containing the reference spectrum.
degree
integer giving the polynomial degree of the baseline; 0 or higher, default = 2.
interferent
numeric vector containing a spectral component to remove.
constituent
numeric vector containing a spectral component to include.
weights
numeric vector of abcissas weights.
rep_corr
proportion of variance or number of subspace components in replicate space (not implemented yet).