R/pos.r

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


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