vmf.kerncontour: Contour plot of spherical data using a von Mises-Fisher...

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Contour plot of spherical data using a von Mises-Fisher kernel density estimate.

Usage

1
vmf.kerncontour(u, thumb = "none")

Arguments

u

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

thumb

This is either 'none' (defualt), or 'rot' for the rule of thumb suggested by Garcia-Portugues (2013). If it is "none" it is estimated via cross validation, with the fast function "vmfkde.tune_2".

Details

It calcculates the contour plot using a von Mises-Fisher kernel for spherical data only.

Value

A plot with the data in latitude and longitude along with their kernel density estimate contour lines.

Author(s)

Michail Tsagris

R implementation and documentation: Michail Tsagris <mtsagris@yahoo.gr> and Giorgos Athineou <athineou@csd.uoc.gr>

References

Garcia Portugues, E. (2013). Exact risk improvement of bandwidth selectors for kernel density estimation with directional data. Electronic Journal of Statistics, 7, 1655–1685.

See Also

vmf.kde, vmfkde.tune, vmf.contour, kent.datacontour

Examples

1
2
3
4
5
x <- rvmf(100, rnorm(3), 15)
x <- euclid.inv(x)
par( mfrow = c(1, 2) )
vmf.kerncontour(x, "rot")
vmf.kerncontour(x, "none")


Search within the Directional package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.