View source: R/ClosestElement.R
Get closest element of a vector
1 | ClosestElement(xvector, x, type = "N")
|
xvector |
a vector of values |
x |
the value to find the closest match to |
type |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.