Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

is_in_inclusive

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 x is a vector, lims may also be a two-column matrix with nrow=length(x) where the first column is lower limits and the second column is upper limits. If x is a vector and lims is a two-element vector, then each element of x will be checked against the same limits. If x is a vector and lims is a matrix, then each element of x will be checked against the limits given by the corresponding row of lims.

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, Caroline L., et al. "Identifying populations sensitive to environmental chemicals by simulating toxicokinetic variability." Environment International 106 (2017): 105-118


httk

High-Throughput Toxicokinetics

v2.0.4
GPL-3
Authors
John Wambaugh [aut, cre] (<https://orcid.org/0000-0002-4024-534X>), Robert Pearce [aut] (<https://orcid.org/0000-0003-3168-4049>), Caroline Ring [aut] (<https://orcid.org/0000-0002-0463-1251>), Greg Honda [aut] (<https://orcid.org/0000-0001-7713-9850>), Mark Sfeir [aut], Matt Linakis [aut] (<https://orcid.org/0000-0003-0526-2395>), Sarah Davidson [aut] (<https://orcid.org/0000-0002-2891-9380>), Miyuki Breen [ctb] (<https://orcid.org/0000-0001-8511-4653>), Shannon Bell [ctb], Xiaoqing Chang [ctb] (<https://orcid.org/0000-0003-0752-1848>), Jimena Davis [ctb], James Sluka [ctb] (<https://orcid.org/0000-0002-5901-1404>), Nisha Sipes [ctb] (<https://orcid.org/0000-0003-4203-6426>), Barbara Wetmore [ctb] (<https://orcid.org/0000-0002-6878-5348>), Woodrow Setzer [ctb] (<https://orcid.org/0000-0002-6709-9186>)
Initial release
2021-05-07

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.