| match_within_tolerance | R Documentation |
This is a modified version of match() that supports tolerance.
match_within_tolerance(x, table, tolerance = 1e-10)
x |
( |
table |
( |
tolerance |
( |
An integer vector of the same length as x giving the position
in table of the first match, or an empty integer vector if table is empty.
NA is returned for values in x that have no match.
match_within_tolerance(c(0.1, 0.2, 0.3), c(0.10000001, 0.5, 0.3))
match_within_tolerance(1.5, numeric(0))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.