R/sdbuildR_custom_func.R
nonnegative.Rd
Check whether x is less than zero.
nonnegative(x)
Value
x if x is greater than 0, 0 otherwise
nonnegative(NA) #> [1] NA nonnegative(-1) #> [1] 0