Description Usage Arguments Value Examples
Determine when all numbers in a vector are greater than zero
1 2 3 4 5 6 7 | when_all_gt(x, num = 0)
where_all_gt(x, num = 0)
when_all_gte(x, num = 0)
where_all_gte(x, num = 0)
|
x |
numeric vector |
num |
greater than some number, default 0 |
logical vector - TRUE when all numbers start to be GT zero
1 2 3 4 | when_all_gt(c(0, 1, 0, 1, 1, 2, 3))
when_all_gt(c(0, 0, 0, 0))
when_all_gt(c(1, 0, 1, 1, 0, 2, 3, 4))
where_all_gt(c(1, 0, 1, 1, 0, 2, 3, 4))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.