R/pos.r

#######################################
##### set negative values to zero #####


pos <- function(x){
  
  x[x < 0] <- 0
  x
  
}
codymarquart/LSAfun2 documentation built on May 13, 2019, 8:48 p.m.