between_more {mark} | R Documentation |
Between more
Description
Additional functionality and expansion of dplyr::between
Usage
between_more(x, left, right, type = c("gele", "gel", "gle", "gl"))
Arguments
x |
A numeric vector of values |
left , right |
Boundary values |
type |
Abbreviation for the evaluation of |
Details
Type can be one of the below:
- g
is greater than (>)
- ge
greater than or equal to (>=)
- l
less than (<)
- ls
less than or equal to (<=)
Value
A logical vector
See Also
dplyr::case_when()
Examples
between_more(10, 2, 10, "gl")
between_more(10, 2, 10, "gle")
between_more(1:5, c(3, 3, 2, 2, 1), 5)
[Package mark version 0.8.0 Index]