spectralAnalysis (version 3.12.0)

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)

Arguments

NMFResult

Fitted NMF model

Value

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