coordsToConvexHull: Calculate the convex hull of occurrence coordinates

View source: R/coordsToConvexHull.R

coordsToConvexHullR Documentation

Calculate the convex hull of occurrence coordinates

Description

Convert occurrence coordinates to convex hull. Returned in same projection.

Usage

coordsToConvexHull(coords, proj4string)

Arguments

coords

Two-column data.frame, matrix, or SpatialPoints object containing longitude and latitude

proj4string

Character string containing CRS information for coords.

Value

An sf polygon object of specified proj4string


cjcampbell/SDMetrics documentation built on Oct. 2, 2022, 10:14 a.m.