constraintAngle: Method for angle constraint

Description Usage Arguments

View source: R/constraints.R

Description

Adds a small portion of mean to contributions or spectra to increase contrast

Usage

1
constraintAngle(x, d, weight = 0.05)

Arguments

x

data matrix (spectra or contributions)

d

matrix with the original spectral values

weight

how many percent of mean to add (between 0 and 1)


mdatools documentation built on Sept. 13, 2021, 9:07 a.m.