constraintUnimod: Method for unimodality constraint

View source: R/constraints.R

constraintUnimodR Documentation

Method for unimodality constraint

Description

forces column of matrix to have one maximum each

Usage

constraintUnimod(x, d, tol = 0)

Arguments

x

data matrix (spectra or contributions)

d

matrix with the original spectral values

tol

tolerance (value between 0 and 1) to make the method stable to small fluctuations


mdatools documentation built on March 6, 2026, 5:08 p.m.