getNextPosition {basictabler} | R Documentation |
Find the first value in an array that is larger than the specified value.
Description
getNextPosition
is a utility function that helps when parsing strings
that contain delimiters.
Usage
getNextPosition(positions, afterPosition)
Arguments
positions |
An ordered numeric vector. |
afterPosition |
The value to start searching after. |
Value
The first value in the array larger than afterPosition.
[Package basictabler version 1.0.2 Index]