is_in_domain | R Documentation |
A convenience function to see if a value is inside
(or on the boundaries of) a domain or a set of domain segments.
In the case of multiple segments, the check is
whether val
is within any of them.
is_in_domain(val, domain, ...)
val |
the values to be checked |
domain |
the domain |
... |
additional domains |
is_in_domain(1:10, domain(x=5.5:8.5), domain(x=1:2))
is_in_domain(mtcars, domain(mpg=15:20, wt=2:4.5), domain(mpg=25:28))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.