getNextPosition: Find the first value in an array that is larger than the...

View source: R/styleParsing.R

getNextPositionR 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.


pivottabler documentation built on Oct. 1, 2023, 5:07 p.m.