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