symdif: Symetrical difference

Description Usage Arguments Value See Also Examples

Description

Symetrical difference of polygons

Usage

1
2
## S4 method for signature 'SpatVector,SpatVector'
symdif(x, y)

Arguments

x

SpatVector

y

SpatVector

Value

SpatVector

See Also

erase

Examples

1
2
3
4
p <- vect(system.file("ex/lux.shp", package="terra"))
b <- as.polygons(ext(6, 6.4, 49.75, 50))
#sd <- symdif(p, b)
#plot(sd, col=rainbow(12))

terra documentation built on Oct. 11, 2021, 9:09 a.m.