symdif | R Documentation |
Symmetrical difference of polygons
## S4 method for signature 'SpatVector,SpatVector'
symdif(x, y)
x |
SpatVector |
y |
SpatVector |
SpatVector
erase
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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.