Description Usage Arguments Value Examples
Several logical range comparison helpers
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | e1 %gele% e2
e1 %gel% e2
e1 %gle% e2
e1 %gl% e2
e1 %g% e2
e1 %ge% e2
e1 %l% e2
e1 %le% e2
e1 %!in% e2
e1 %nin% e2
e1 %flipIn% e2
|
e1 |
A number of vector to be evaluated |
e2 |
A vector of one or two numbers used to denote the limits for logical comparison. |
A logical vector of the same length as e1
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | 1:5 %gele% c(2, 4)
1:5 %gele% c(4, 2) # order does not matter uses min / max
1:5 %gel% c(2, 4)
1:5 %gel% c(4, 2) # order does not matter uses min / max
1:5 %gle% c(2, 4)
1:5 %gle% c(4, 2) # order does not matter uses min / max
1:5 %gl% c(2, 4)
1:5 %gl% c(4, 2) # order does not matter uses min / max
1:5 %g% c(2)
1:5 %ge% c(2)
1:5 %l% c(2)
1:5 %le% c(2)
1:5 %!in% c(2, 99)
c("jack", "jill", "john", "jane") %!in% c("jill", "jane", "bill")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.