spectralPLSCalibration: Compute PLS model
Description
Compute PLS model
Usage
spectralPLSCalibration(objectList, UPLC_DF, ncomp = 10)
Value
PLS model, as obtained from plsr
Arguments
- objectList
list of SPC files
- UPLC_DF
dataframe with UPLC data, which should contain the following columns: experiment, time, and 1 column per compound
- ncomp
number of PLS components, defaults to 10