Description Usage Arguments Value Examples
Populate a transformed SpatialPolygons object with data from a matrix or array with a set of names or rownames matching the SpatialPolygons object IDs
1 2 |
sp |
a SpatialPolygons object |
v |
a variables whose names or rownames match thev IDs for |
a SpatialPolygonsDataFrame object with polygons from sp
and data from v
.
1 2 3 4 5 | data(RA)
RA.spdf %>% small_chop -> RA.sp
class(RA.sp)
RA.sp %>% clone_data(RA.spdf) -> RA.sp2
RA.sp2 %>% data.frame %>% head
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.