Description Usage Arguments Value Examples
Return the closest value within a vector to a given input
1 | match.closest(x, v)
|
x |
the input to be matched |
v |
the vector of reference numbers |
a number
1 2 | v = c(1, 2, 4, 6)
match.closest(3.53424, v)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.