in_range | R Documentation |
Checks if x
is between lower
and upper
,
in_range(x, lower, upper, rightmost.closed = TRUE, left.open = FALSE)
x |
numeric: vaklues to check |
lower |
numeric: lower bound |
upper |
numeric: upper bound |
rightmost.closed |
logical: if true then |
left.open |
logical: if true then |
a logical vector whether x
is in range or not
in_range(-1:2, 0, 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.