Description Usage Arguments Details Value Author(s) Examples

For each of given values, `indx`

finds the index of the value in a
vector sorted in ascending order that the given value is barely greater than
or equal to.

1 | ```
indx(x, v)
``` |

`x` |
vector of numeric values, the indices of which are to be found. |

`v` |
vector of numeric values sorted in ascending order. |

For each x[i], the function returns integer j such that

*v[j] <= x[i] < v[j+1]*

where *v[0] = -Inf and v[n+1] = Inf*.

Returns a vector of integers, that are indices of x-values in vector v.

Yong Wang <yongwang@auckland.ac.nz>

1 2 |

lsei documentation built on Jan. 13, 2021, 6:13 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.