circular_mode | R Documentation |
MLE angle (maximum density) using a von Mises distribution kernel with specified concentration.
circular_mode(x, kappa = NULL, axial = TRUE, n = 512)
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. |
numeric
set.seed(1)
x <- rvm(10, 0, 100)
circular_mode(x, kappa = est.kappa(x))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.