in.interval.lo | R Documentation |
This function checks if the values in the x
parameter are contained in the interval (lo
, hi
].
NA
values are treated as "not in the interval".
in.interval.lo(x, lo, hi)
x |
A vector of values. (Lists will be coerced to a numeric vector.) |
lo |
Left end of the interval. |
hi |
Right end of the interval. |
A boolean vector of the same length as x
.
in.interval.ro()
, nin.interval.lo()
,
nin.interval.ro()
in.interval.lo(c(-1, 0, 1, 2), 0, 1)
in.interval.lo(NA, 1, 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.