constraintNorm: Method for normalization constraint

View source: R/constraints.R

constraintNormR Documentation

Method for normalization constraint

Description

Normalize rows of matrix to unit length or area

Usage

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 Aug. 13, 2023, 1:06 a.m.