Description Usage Arguments See Also Examples
Test if an object is negative
1 | is_negative(x)
|
x |
an R object |
1 2 3 4 5 6 7 8 9 10 | is_negative(1)
is_negative(0)
is_negative(-1)
is_negative(iris$Species)
is_negative(iris)
is_negative(list(1, 0, -1, iris))
set.seed(999)
M = matrix(rnorm(12), 4, 3)
is_negative(M)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.