Learn R Programming

mdatools (version 0.14.1)

predict.mcrpure: MCR predictions

Description

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

Usage

# S3 method for mcrpure
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.