R/qunormaddon.R

Defines functions qunormaddon

Documented in qunormaddon

qunormaddon <- 
function(params, x) {

  if (!inherits(params, "qunormtrain")) 
    stop("Input parameter 'params' has to be of class 'qunormparam'.")
  xnorm <- x
  for (i in 1:nrow(x)) {
    xnorm[i,] <- normalizeqntadd2(x[i,], params$mqnts)
  }
  return(xnorm)
  
}

Try the bapred package in your browser

Any scripts or data that you put into this service are public.

bapred documentation built on June 22, 2022, 9:08 a.m.