Outer boundaries of a vector map

borders0(x)

Arguments

x

A SpatialPolygons* object

Value

A single polygon with the outermost boundary.

Examples

cmr <- mapMCDA_datasets() sp::plot(cmr$cmr_admin3)
sp::plot(borders0(cmr$cmr_admin3))