R/normalize.r

#' @export normalize

normalize <- function(x){
  
  norm <- sqrt(sum(x^2))
  
  normvec <- x/norm
  normvec
}
codymarquart/LSAfun documentation built on May 13, 2019, 8:47 p.m.