Learn R Programming

lingtypology (version 1.1.1)

polygon.points_kde: Get kernel density estimation poligon from coordinates

Description

This function is based on this answer: https://gis.stackexchange.com/a/203623

Usage

polygon.points_kde(latitude, longitude, latitude_width, longitude_width)

Arguments

latitude

numeric vector of latitudes

longitude

numeric vector of longitudes

latitude_width

bandwidths for latitude values. Defaults to normal reference bandwidth (see bandwidth.nrd).

longitude_width

bandwidths for longitude values. Defaults to normal reference bandwidth (see bandwidth.nrd).