crwUseGrid: Compute a spatial use grid from a crawl prediction
Description
This function take a SpatialPoints object and a spatial GridTopology
object from the 'sp' package and outputs the number of point locations
in each grid cell
Usage
crwUseGrid(object, grid, subset = TRUE)
Arguments
object
A 'SpatialPoints' object created with the sp package. T
grid
A GridTopology object from the 'sp' package
subset
An indicator of which times should be used for calculation of
the use grid. Can be a logical vector or a vector of integers, such as from
a call to which
Value
A SpatialGridDataFrame with data column 'use' which gives the
count of locations within the grid cell