constraintNorm: Method for normalization constraint

Description Usage Arguments

View source: R/constraints.R

Description

Normalize rows of matrix to unit length or area

Usage

1
constraintNorm(x, d, type = "length")

Arguments

x

data matrix (spectra or contributions)

d

matrix with the original spectral values

type

type of normalization ("area", "length" or "sum")


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