find_x_section | R Documentation |
Find the location of a new value in a table of values
find_x_section(new_x, x)
new_x |
A double floating point number giving a new value of x for which you want to find the indices of the sections of a vector x that contain the new value. |
x |
A numeric vector for which you want to find the position that brackets the new value, new_x. |
An integer giving the zero-based index of the position in the x vector that gives the lower bracket of the section of the x-vector containing the new x value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.