Learn R Programming

directlabels (version 2021.1.13)

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.