Learn R Programming

rindex (version 0.12.1)

indexFindInterval: Mid level search: interval

Description

Find index positions in interval of search values

Usage

indexFindInterval(obj, low = NULL, high = NULL, low.include = TRUE, high.include = TRUE, low.exact = FALSE, high.exact = FALSE, lowFUN = FUN, highFUN = FUN, FUN = indexFind)

Arguments

obj

an object of class ‘index’

low

low search value

high

high search value

low.include

FALSE to not include the lower search value (default TRUE)

high.include

FALSE to not include the upper search value (default TRUE)

low.exact

TRUE to require the the low search value is present (default FALSE)

high.exact

TRUE to require the the upper search value is present (default FALSE)

lowFUN

low level search function to identify lower index position (default FUN)

highFUN

low level search function to identify lower index position (default FUN)

FUN

low level search function to identify both index positions (default indexFind)

Value

An integer sequence of index positions

Details

indexFindInterval finding a sequence of exact or approximate values

See Also

index, indexFind, indexMatch