Learn R Programming

terra (version 1.0-7)

convexhull: Convex hull

Description

Get the convex hull of a vector dataset

Usage

# S4 method for SpatVector
convexhull(x, ...)

Arguments

x

SpatVector

...

Additional arguments. None implemented

Value

SpatVector

Examples

Run this code
# NOT RUN {
p <- vect(system.file("ex/lux.shp", package="terra"))
h <- convexhull(p)
# }

Run the code above in your browser using DataLab