| has.interval | R Documentation |
Determine if a value is contained in the interval.
## S3 method for class 'interval'
has(object, x)
object |
An interval object. |
x |
A vector of values. |
Logical vector indicating containment.
iv <- interval$new(lower = 0, upper = 1)
has(iv, 0.5) # TRUE
has(iv, 2.0) # FALSE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.