powered by
Generate a grid of a specified shape in the bbox of a Spatial object.
build_grid(grid_shape, spatial)
A numeric vector of length 2 indicating the number of rows and the numbers of columns of the grid
A list of SpatialDataFrames objects (package sp)
A SpatialPolygonsDataFrame representing the grid
# NOT RUN { #This is an internal function, no example provided # }
Run the code above in your browser using DataLab