inside: inside

insideR Documentation

inside

Description

Calculate for each box how many points are inside.

Usage

inside(boxes, points)

Arguments

boxes

Data frame of box descriptions, each row is 1 box, need columns left right top bottom.

points

Data frame of points, each row is 1 point, need columns x y.

Value

Vector of point counts for each box.

Author(s)

Toby Dylan Hocking <toby.hocking@r-project.org> [aut, cre] (ORCID: <https://orcid.org/0000-0002-3146-0865>)


directlabels documentation built on June 25, 2025, 1:08 a.m.