constraintNonNegativity: Method for non-negativity constraint

View source: R/constraints.R

constraintNonNegativityR 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


mdatools documentation built on Sept. 11, 2024, 7:59 p.m.