isBetween {swfscMisc} | R Documentation |
Between
Description
Is a numeric value between two other values?
Usage
isBetween(x, a, b = NULL, include.ends = FALSE, na.convert = TRUE)
Arguments
x |
vector of numeric values to check. |
a , b |
numeric values describing range. |
include.ends |
logical. Should test include |
na.convert |
logical. If |
Details
Order of a
and b
does not matter. If b
is
NULL
the range will be taken from values in a
.
Author(s)
Eric Archer eric.archer@noaa.gov
[Package swfscMisc version 1.6.5 Index]