Learn R Programming

bcmaps (version 2.2.1)

self_union: Union a SpatialPolygons* object with itself to remove overlaps, while retaining attributes

Description

[Defunct]

This function is defunct as of bcmaps 2.0.0. Use raster::union() for SpatialPolygonsDataFrames, or sf::st_union() with sf objects instead.

Usage

self_union(x)

Value

A SpatialPolygons or SpatialPolygonsDataFrame object

Arguments

x

A SpatialPolygons or SpatialPolygonsDataFrame object