is_between | R Documentation |
Returns a logical vector of the same length as x. Can use inclusive or exclusive limits.
is_between(x, a, b, include_lower = TRUE, include_upper = TRUE)
x |
(numeric vector) A vector of values to test. |
a |
(numeric scalar) The lower limit. |
b |
(numeric scalar) The upper limit. |
include_lower |
(boolean) Whether to include the lower limit itself. Defaults to TRUE. |
include_upper |
(boolean) Whether to include the upper limit itself. Defaults to TRUE. |
is_between(1:10, 3, 6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.