getCellCounts {lgcp} | R Documentation |
This function is used to count the number of observations falling inside grid cells.
getCellCounts(x, y, xgrid, ygrid)
x |
x-coordinates of events |
y |
y-coordinates of events |
xgrid |
x-coordinates of grid centroids |
ygrid |
y-coordinates of grid centroids |
The number of observations in each grid cell.