View source: R/validate_mnirs.R
| within | R Documentation |
Vectorised check for x %in% vec, inclusive or exclusive of left and right
boundary values, specified independently.
within(x, vec, inclusive = c("left", "right"))
x |
A numeric vector. |
vec |
A numeric vector from which |
inclusive |
A character vector to specify which of |
inclusive = FALSE can be used to test for positive non-zero values:
within(x, c(0, Inf), inclusive = FALSE).
A logical vector the same length as x.
dplyr::between()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.