findPosition.RdFind position of value in set
findPosition(value = 0, set = c(0, 1))
| value | Value to locate |
|---|---|
| set | Set of values in which to locate value |
Find best position of value in set by finding closest value; modification of FindInterval() function