which.bw: Match values against a data.frame with start and end values

Description Usage Arguments Value

Description

Match values against a data.frame with start and end values

Usage

1
which.bw(x, ref)

Arguments

x

the values to be matched against ref

ref

a data.frame with start values in the first column end values in the second column and an optional id number in the third column.

Value

for each x value, the row number of ref where x lies between start and end values. If ref has a third column (an id) its value is returned instead of the row number. When x value matches a start and a end value the priority is given to the start.


SESman/rbl documentation built on May 9, 2019, 11:10 a.m.