R/normalize.r

#' @export normalize

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