Select values from a vector depending on a range in a second vector.
select.range accepts two vectors of paired observations and
returns a vector of observations from
data. The observations
returned are those for which the paired values in
within the range specified by
NOTE: The in-range condition is greater than or equal to
and less than
max. This allows contiguous ranges to be
specified without returning the same value in two sets.
A vector of observations to be used for grouping.
The minimum value of the range.
The maximum value of the range.
A numeric vector of observations.
The subset of observations from
data is returned invisibly.
1 2 3
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.