View source: R/coords2sp.poly.R
coords2sp.poly | R Documentation |
coords2sp.poly function
Convert a coordinates matrix into a SpatialPolygons object of circles centered at input coordinates
coords2sp.poly(coords.mat, r = 0.01)
coords.mat |
Numerical matrix of coordinates with longitude and latitude columns, respectively; coordinates must be in decimal degrees format. |
r |
Number indicating radius of circles, in degrees. |
SpatialPolygons object (see sp package)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.