Description Usage Arguments Value Examples

This function replaces R's default `%in%`

function with an `all.equal`

equivalent. It is slower than the default `%in%`

, but it is comparable to the speed differences between `identical`

and `all.equal`

. It takes a lefthand side (LHS) and righthand side (RHS) vector, evaluates whether each value on the LHS is found somewhere in the RHS, within the matching tolerance, and returns a logical vector of length(LHS). Note that this function only takes tolerance into account if both the LHS and RHS are numeric, otherwise it uses the default `%in%`

behavior.

1 | ```
x %in% y
``` |

`x` |
a vector whose values are being evaluated for matches in y |

`y` |
a vector whose values x is being evaluated for matches in |

`tol` |
the tolerance for differences between values of x and y to still be considered a match, by default set to |

A logical vector of length x

1 2 3 4 5 6 7 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.