spectralAnalysis (version 4.3.3)

predictNNLS: Based on previously obtained NMF result NMFResult, estimate coefficients for a new spectralData object object using non-negative least squares fitting. The result is returned as as an NMF model.

Description

Based on previously obtained NMF result NMFResult, estimate coefficients for a new spectralData object object using non-negative least squares fitting. The result is returned as as an NMF model.

Usage

predictNNLS(object, NMFResult)

Value

Fitted non-negative least squares result in the form of an NMF model

Arguments

object

SpectraInTime-class

NMFResult

Fitted NMF model

Author

nsauwen