Description Usage Arguments Details Value
For performance reasons call a C++ function that loops across the vector. Original name: .whichValueGreaterEqual
1 | .whichValueGreaterEqual(x, thr, start = 1L)
|
x |
Increasingly sorted numeric vector to search. |
thr |
Integer scalar: searched element will need to be greater than or equal to this argument |
iStart |
Index in vector to start search |
Searches a sorted integer vector for the next element that is >= a threshold in fast C-code.
A scalar integer: first index in x, that is >= start, and whose value x[i] is >= threshold. If no index was found, returns NA.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.