vmf.kerncontour2: Von Mises-Fisher kernel density estimator with numerical...

vmf.kerncontour2R Documentation

Von Mises-Fisher kernel density estimator with numerical smoothing parameter

Description

This function calculates the Von Mises-Fisher kernel density estimator is a slight modification of function vmf.kerncontour in Directional package. In this new version, it is possible to provide a numerical value for the bandwidth.

Usage

vmf.kerncontour2(u, h, full = FALSE, ngrid = 100)

Arguments

u

A two column matrix. The first column is the latitude and the second is the longitude.

h

Numeric value for bandwidth ot smoothing parameter.

full

If FALSE (default), uses the range of positions from u to calculate and optionally plot densities. If TRUE, calculates densities covering the entire sphere.

ngrid

Sets the resolution of the density calculation.

Value

A list with kernel density estimation. For more details, see function vmf.kerncontour in Directional package.

Author(s)

Paula Saavedra-Nieves and Rosa M. Crujeiras.


HDiR documentation built on Nov. 16, 2022, 5:14 p.m.

Related to vmf.kerncontour2 in HDiR...