Learn R Programming

terra (version 1.1-17)

convexhull: Convex hull

Description

Get the convex hull of a vector dataset

Usage

# S4 method for SpatVector
convexhull(x)

Arguments

x

SpatVector

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