R/custom_func.R
nonnegative.Rd
If using Julia, units are preserved
nonnegative(x)
Value
x if x is greater than 0, 0 otherwise
Other internal: clean_name(), has_internet(), saveat_func()
clean_name()
has_internet()
saveat_func()
nonnegative(NA) #> [1] NA nonnegative(-1) #> [1] 0