R code for the analysis of absorbance spectra for quantitative chemometrics