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 Sept. 11, 2024, 7:59 p.m.