binary_search_larger {icmstate} | R Documentation |
Binary search - Larger
Description
Find index of first value larger than x in a sorted array
Usage
binary_search_larger(v, data)
Arguments
v |
- sorted vector instance |
data |
- value to search |
Value
index of first value larger than data -1, -1 otherwise
[Package icmstate version 0.2.0 Index]