Description Usage Arguments See Also Examples
Tests if an object is a single positive number
1 |
x |
an R object |
1 2 3 4 5 | is_single_positive(1.0) # TRUE
is_single_positive(c(1.0,2)) # FALSE
is_single_positive(-1.0) # FALSE
is_single_positive(0) # FALSE
is_single_positive(NA) # FALSE
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.