directlabels (version 2020.1.31)

in1which: in1which

Description

Calculate which points fall in a box.

Usage

in1which(p, box)

Arguments

p

data frame of points with columns x and y and many rows.

box

data frame of 1 row with columns left right top bottom.