Method for normalization constraint
Normalize rows of matrix to unit length or area
constraintNorm(x, d, type = "length")
x
: data matrix (spectra or contributions)d
: matrix with the original spectral valuestype
: type of normalization ("area", "length" or "sum")