gridData function

Apply a grid (2D bins) to nodiv objects of type 'points'