st_duplicated | R Documentation |
Determine duplicated geometries
st_duplicated(x)
x |
An object of class |
A logical vector specifying for each feature in x
if its
geometry is equal to a previous feature in x
.
duplicated
library(sf, quietly = TRUE)
p1 = st_sfc(st_point(c(1, 1)))
p2 = st_sfc(st_point(c(0, 0)))
p3 = st_sfc(st_point(c(1, 0)))
st_duplicated(c(p1, p2, p2, p3, p1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.