constraintNonNegativity {mdatools}R Documentation

Method for non-negativity constraint

Description

Set all negative values in the matrix to 0

Usage

constraintNonNegativity(x, d)

Arguments

x

data matrix (spectra or contributions)

d

matrix with the original spectral values


[Package mdatools version 0.14.1 Index]