convexhull {terra}R Documentation

Convex hull

Description

Get the convex hull of a vector dataset

Usage

## S4 method for signature 'SpatVector'
convexhull(x)

Arguments

x

SpatVector

Value

SpatVector

Examples

p <- vect(system.file("ex/lux.shp", package="terra"))
h <- convexhull(p)

[Package terra version 1.2-5 Index]