coords2spdf | R Documentation |
Function to make a SpatialPolygonsDataFrame from a matrix of points
coords2spdf(points, name)
points |
a 2 column matrix of points. The last point should be equal to the first |
name |
a character name for the SPDF |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.