predict.mcrpure function

MCR predictions

MCR predictions

Applies MCR model to a new set of spectra and returns matrix with contributions.

## S3 method for class 'mcrpure' predict(object, x, ...)

Arguments

  • object: an MCR model (object of class mcr).
  • x: spectral values (matrix or data frame).
  • ...: other arguments.

Returns

Matrix with contributions

  • Maintainer: Sergey Kucheryavskiy
  • License: MIT + file LICENSE
  • Last published: 2024-08-19