Get the convex hull of a vector dataset
## S4 method for signature 'SpatVector' convexhull(x)
x
SpatVector
p <- vect(system.file("ex/lux.shp", package="terra")) h <- convexhull(p)