This function checks a series of coordinates and return a join with the information of each coordinate and its respective grid. Note that the coords and shapes coordinates MUST have the same lon/lat reference system for it to work succesfully.
geoGrid(coords, map, fix_coords = FALSE, plot = FALSE, all = FALSE,
alpha = 0.3)
Dataframe. Dataframe containing at least langitud and latitud data
SpatialPolygonsDataFrame or .shp directory
Boolean. Transform and fix coordinates system?
Boolean. Return plot with coordinates inside the grid?
Boolean. Include all coordinates in plot, i.e. only the ones who are inside the grids?
Numeric. Points transparency for the plot
Other Geographical: geoAddress
,
geoMap
, geoStratum