Description Usage Arguments Value Author(s) Examples
Returns whether numeric values on the left-hand side of the operator fall within any of the
specified intervals on the right-hand side. Intervals can be specified using either two-column
matrices or Intervals
objects from the
intervals
package.
1 2 3 | x %In% Intv
x %within% Intv
|
x |
A vector of numeric values |
Intv |
A set of intervals, defined by a two-column matrix of endpoints or an Intervals object |
A vector of logicals, which are true if x[i] belongs to any of the intervals in the set.
Simon Barthelme
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.