is_posNum: Is this object a positive number? (Or non-negative)
Description
Is this object a positive number? (Or non-negative)
Usage
is_posNum(x, zero_ok = FALSE)
Value
Logical indicating if x is a single positive or non-negative
number
Arguments
- x
The value to check
- zero_ok
Is a value of zero ok?