between | R Documentation |
This is a shortcut for x >= left & x <= right
.
between(x, left, right)
x |
A |
left, right |
Boundary values. |
A logical
vector the same length as x
.
between(1:12, 7, 9)
x <- rnorm(1e2)
x[between(x, -1, 1)]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.