outside_range {drugprepr} | R Documentation |
A utility function for indicating if elements of a vector are implausible.
outside_range(x, lower, upper, open = TRUE)
x |
numeric vector |
lower |
minimum plausible value |
upper |
maximum plausible value |
open |
logical. If |
Though the function between
already exists, it is not vectorised over the bounds.