constraintClosure function

Method for closure constraint

Method for closure constraint

Force rows of data sum up to given value

constraintClosure(x, d, sum = 1)

Arguments

  • x: data matrix (spectra or contributions)
  • d: matrix with the original spectral values
  • sum: which value the specra or contributions should sum up to
  • Maintainer: Sergey Kucheryavskiy
  • License: MIT + file LICENSE
  • Last published: 2024-08-19