powered by
Check whether x is less than zero.
nonnegative(x)
x if x is greater than 0, 0 otherwise
Value
nonnegative(NA) nonnegative(-1)
Run the code above in your browser using DataLab