Construct_contour: Internal function: Constructing smooth contour polygon

View source: R/Plotting_Functions.R

Construct_contourR Documentation

Internal function: Constructing smooth contour polygon

Description

This function takes the Lat Longs that form a range around which a smooth contour is required. The contour is calculated base on kernal density estimation. This function uses the kde function of the ks Kernel Smoothing package and contourLines function of grDevices package.

Usage

Construct_contour(LatLongs)

Arguments

LatLongs

A dataframe with a 'Lats' column and a 'Longs' column containing all latitude-longitude co-ordinates that are to form the basis upon which the contour is formed.

Value

Contour polygon

Author(s)

Anna Rudzinski

Ardern Hulme-Beaman


ArdernHB/GeoOrigins documentation built on Nov. 19, 2022, 10:21 a.m.