R/normalise.r

Defines functions normalise

Documented in normalise

#' Normalise values

normalise <- function(x, method = "range") {
  pp <- preProcess(x, method)
  return(predict(pp, x))
}
woobe/bib documentation built on May 4, 2019, 9:47 a.m.