Description Usage Arguments Value Note Examples
Decide if a value x
falls inside an interval j[1],j[2]
that can be open or closed on the left and/or the right. Either a logical vector equal to x
, or the actual values are extracted, when the '.'-versions are used.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | x %[]% j
x %()% j
x %[)% j
x %(]% j
x %[.]% j
x %(.)% j
x %[.)% j
x %(.]% j
|
x |
A vector |
j |
A 2-element numeric vector indicating a range |
Logical vector of length x
, or, values in the range j
Package 'DescTools' provides similar functions
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.