Description Usage Arguments Details Value Author(s)
Recieve one array and two numbers and find which elements of the array are between the two numbers. Can also recieve three arrays of same length and compares each element of one with other two's same posistion elements to check if the first one is between these two last.
1 |
x |
array with elements to check. Don't use List nor Dataframes. |
a |
value or array with elements to use as lower bound. Don't use List nor Dataframes. |
b |
value or array with elements to use as upper bound. Don't use List nor Dataframes. |
... |
array of "nulls". It takes NA, Inf, -Inf, NULL and NaN as "nulls" by default. |
All "nulls" in a or b would be replaced by -Inf or Inf respectevely to be compared.
Returns a logical array with TRUE for "i" positions where a<=x[i]<=b (or a[i]<=x[i]<=b[i], if a and b are arrays).
Daniel Fischer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.