powered by
Angle of maximum density of a specified von Mises distribution
circular_mode(x, kappa, axial = TRUE, n = 512)
numeric
numeric vector. Values in degrees.
von Mises distribution concentration parameter
logical. Whether the data are axial, i.e. pi-periodical (TRUE, the default) or directional, i.e. \(2 \pi\)-periodical (FALSE).#' @param kappa
TRUE
FALSE
the number of equally spaced points at which the density is to be estimated.
x <- rvm(10, 0, 100) %% 180 circular_mode(x, kappa = 2)
Run the code above in your browser using DataLab