R/weightNL.R

"weightNL" <- function(temp, model, n) {
  if (model@clpType == "x2") {
    temp <- temp * model@weightM[, n]
  }
  if (model@clpType == "x") {
    temp <- temp * model@weightM[n, ]
  }
  temp
}
glotaran/TIMP documentation built on Feb. 11, 2023, 4:11 a.m.