powered by
Calculate for each box how many points are inside.
points
inside(boxes, points)
Data frame of box descriptions, each row is 1 box, need columns left right top bottom.
Data frame of points, each row is 1 point, need columns x y.
Vector of point counts for each box.