Description Usage Arguments Value Examples
Populate a transformed SpatialPolygons object with data from a SpatialPolygonsDataFrame with an identical set of IDs
1 2 | clone_data(sp,spdf)
sp %>% clone_data(spdf)
|
sp |
a SpatialPolygons object |
spdf |
a SpatialPolygonsDataFrame object with matching IDs |
a SpatialPolygonsDataFrame object with polygons from sp
and data from spdf
.
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.