circular_mode {tectonicr} | R Documentation |
Circular Mode
Description
MLE angle (maximum density) using a von Mises distribution kernel with specified concentration.
Usage
circular_mode(x, kappa = NULL, axial = TRUE, n = 512)
Arguments
x |
numeric vector. Values in degrees. |
kappa |
von Mises distribution concentration parameter. Will be
estimated using |
axial |
logical. Whether the data are axial, i.e. pi-periodical
( |
n |
the number of equally spaced points at which the density is to be estimated. |
Value
numeric
References
N.I. Fisher (1993) Statistical Analysis of Circular Data, Cambridge University Press.
Examples
set.seed(1)
x <- rvm(10, 0, 100)
circular_mode(x, kappa = est.kappa(x))
[Package tectonicr version 0.4.7 Index]