View source: R/coordsToKDEPolygon.R
coordsToKDEPolygon | R Documentation |
Calculate the kernel density estimate (KDE) of input coordinates. Convert to an sf polygon at a specified density threshold.
coordsToKDEPolygon(coords, percentile = 50, proj4string, extent = 1)
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. |
An sf polygon object of specified proj4string
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.