sl2sp | R Documentation |
Function to change a SpatialLinesDataFrame to a SpatialPolygonsDataFrame
sl2sp(x)
x |
An object of class SpatialLinesDataFrame |
This function is based on code found in the book Applied Spaatial Data Analysis with R, 2nd edition, Roger S. Bivand, Edzer J. Pebesma and V. Gomez-Rubio UseR! Series, Springer New York (section 2.6 pp 41)
A SpatialPolygonsDataFrame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.