self_union: Union a SpatialPolygons* object with itself to remove...

View source: R/defunct.R

self_unionR Documentation

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)

Arguments

x

A SpatialPolygons or SpatialPolygonsDataFrame object

Value

A SpatialPolygons or SpatialPolygonsDataFrame object


bcgov/bcmaps documentation built on Oct. 26, 2024, 10:26 p.m.