Description Usage Arguments Details Value Examples
Determine if a numeric value is within a range
1 2 3 |
x |
Numeric value or vector to check |
range |
Numeric vector of two elements, defining the range to check |
inclusive |
Logical indicating whether or not to include the lower and upper values of the range [Default = TRUE] |
x %btwn% range
is equivalent to beween(x, range, inclusive = TRUE)
a logical vector of the same length as x
. For every element in x
returns
TRUE
if the value lies between the range and FALSE
if not.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.