Last chance! 50% off unlimited learning
Sale ends in
getGridLayer(spdf, cellsize, type = "regular", spdfid = NULL)
## Not run:
# data(nuts2006)
# # Get a grid layer
# mygrid <- getGridLayer(spdf = nuts2.spdf, cellsize = 200000)
# # Plot the grid
# plot(mygrid$spdf)
# head(mygrid$df)
# ## End(Not run)
Run the code above in your browser using DataLab