Description Usage Arguments Details Value Examples
Determine if a numeric value is between the specified range
1 2 3 |
x |
Numeric vector (or single value): the values to check if they're
between |
rng |
Two-element numeric cector: the range. |
inclusive |
Whether or not to include the lower and upper values of the range (default TRUE). |
x %btwn% rng
is equivalent to between(x, rng, inclusive = TRUE)
.
A logical vector of the same length as x
.
For every element in x
, return TRUE
if the value lies within
rng
, and FALSE
otherwise.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.