coordsToKDEPolygon: Determine the KDE of occurrence coordinates and convert to...

View source: R/coordsToKDEPolygon.R

coordsToKDEPolygonR Documentation

Determine the KDE of occurrence coordinates and convert to polygon at density threshold

Description

Calculate the kernel density estimate (KDE) of input coordinates. Convert to an sf polygon at a specified density threshold.

Usage

coordsToKDEPolygon(coords, percentile = 50, proj4string, extent = 1)

Arguments

coords

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

percentile

Numeric density threshold percentile at which to draw output polygon

proj4string

Character string containing CRS information for coords.

extent

Controls the extent of the grid for estimating KDE.

Value

An sf polygon object of specified proj4string


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