A function to convert a regular (x,y) grid of centroids into a SpatialPolygons object
grid2spoly(xgrid, ygrid, proj4string = CRS(as.character(NA)))
vector of x centroids (equally spaced)
proj 4 string: specify in the usual way
a SpatialPolygons object
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.