is.strict.positive | R Documentation |
Tests if a number or vector is strictly positive (i.e. excluding 0)
is.strict.positive(x)
x |
a number or vector or matrix |
a logical of the same size as x
is.strict.positive(-5)
is.strict.positive(10)
is.strict.positive(2.5)
is.strict.positive(matrix(1:9, nrow=3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.