is_in_inclusive {httk} | R Documentation |
Checks whether a value, or all values in a vector, is within inclusive limits
Description
Checks whether a value, or all values in a vector, is within inclusive limits
Usage
is_in_inclusive(x, lims)
Arguments
x |
A numeric value, or vector of values. |
lims |
A two-element vector of (min, max) values for the inclusive
limits. If |
Value
A logical vector the same length as x
, indicating whether
each element of x
is within the inclusive limits given by
lims
.
Author(s)
Caroline Ring
References
Ring CL, Pearce RG, Setzer RW, Wetmore BA, Wambaugh JF (2017). “Identifying populations sensitive to environmental chemicals by simulating toxicokinetic variability.” Environment International, 106, 105–118.