Description Usage Arguments Details Value Note Author(s) Examples
Similar to %==% but for testing if numbers in vector a are contained in vector b.
1 | a %INN% b
|
a |
numeric vector to be tested for equivalence. |
b |
numeric vector to be tested against a for equivalence. |
This operator works with the option insigbits, which should be an integer between 1 and 8. The option insigbits defines how many bits (from least significant) will be considered as insignificant in deciding upon equality.
TRUE for each element of b if all but the insignificant parts are identical to an element in a.
Default for insigbits is 6, it can be changed by using
options(insigbits = #),
where # is the desired value.
Aaron Hayman
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.