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.
numeric. Vector or value. The value(s) to match.
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.