Learn R Programming

mdatools (version 0.14.1)

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, ...)

Value

Matrix with contributions

Arguments

object

an MCR model (object of class mcr).

x

spectral values (matrix or data frame).

...

other arguments.