Last data update: 2014.03.03

R: Contour plot of the Kent distribution without any data
kent.contourR Documentation

Contour plot of the Kent distribution without any data

Description

The contour plot of the Kent distribution on the sphere is produced. The user can see how the shape and ovalness change as he/she changes the ovlaness parameter.

Usage

kent.contour(k, b)

Arguments

k

The concentration parameter.

b

The ovalness parameter. It has to be less than k/2 in order for the distribution to be unimodal. Otherwise it is bimodal.

Details

The goal of this function is for the user to see hwo the Kent distribution looks like.

Value

A plot containing the contours of the distribution.

Author(s)

Michail Tsagris

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

References

Kent John (1982). The Fisher-Bingham distribution on the sphere. Journal of the Royal Statistical Society, Series B, 44(1): 71-80.

See Also

kent.datacontour, kent.mle, vmf.contour, vmf.kerncontour

Examples

par( mfrow = c(1, 2) )
kent.contour(10, 2)
kent.contour(10, 4)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(Directional)
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/Directional/kent.contour.Rd_%03d_medium.png", width=480, height=480)
> ### Name: kent.contour
> ### Title: Contour plot of the Kent distribution without any data
> ### Aliases: kent.contour
> ### Keywords: Contour plot Kent distribution
> 
> ### ** Examples
> 
> par( mfrow = c(1, 2) )
> kent.contour(10, 2)
> kent.contour(10, 4)
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>