Description Usage Arguments Value See Also
first_closest
- takes a single value and finds the index
of first time that value is exceeded in a vector, then if that value or the
one preceding it is actually closer.
1 | first_closest(this, there)
|
this |
numeric. Vector or value. The value(s) to match. |
there |
numeric. The vector in which to find first closest matching value(s). |
Index of where first_closest matching value(s) occur in the target vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.