| between | R Documentation |
This is essentially a shortcut for x >= left & x <= right, but it also
retains the size of x and casts both left and right to the type of
x before making the comparison.
between(x, left, right, ..., bounds = "[]")
x |
A vector |
left, right |
Boundary values. Both |
... |
These dots are for future extensions and must be empty. |
bounds |
One of |
A logical vector the same size as x.
between(c(1:10, NA), 4, 6) between(letters, "d", "j") today <- Sys.Date() between(today, today - 1, today + 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.