is.strict.positive {landsepi} | R Documentation |
is.strict.positive
Description
Tests if a number or vector is strictly positive (i.e. excluding 0)
Usage
is.strict.positive(x)
Arguments
x |
a number or vector or matrix |
Value
a logical of the same size as x
Examples
is.strict.positive(-5)
is.strict.positive(10)
is.strict.positive(2.5)
is.strict.positive(matrix(1:9, nrow=3))
[Package landsepi version 1.4.0 Index]