predict.mcrals: MCR ALS predictions
Description
Applies MCR-ALS model to a new set of spectra and returns matrix with contributions.
Usage
# S3 method for mcrals
predict(object, x, ...)
Arguments
object
an MCR model (object of class mcr).
x
spectral values (matrix or data frame).
Value
Matrix with contributions