Learn R Programming

tectonicr (version 0.4.9)

circular_mode: Circular Mode

Description

MLE angle (maximum density) using a circular distribution kernel with specified concentration

Usage

circular_mode(x, ...)

Value

numeric

Arguments

x

numeric. A vector of angles (in degrees) from which the estimate is to be computed.

...

parameters passed to circular_density()

References

N.I. Fisher (1993) Statistical Analysis of Circular Data, Cambridge University Press.

Examples

Run this code
set.seed(20250411)
x <- rvm(10, 0, 100)

# Mode of von Mises kernel density (the default)
circular_mode(x)

# Mode of wrapped Cauchy kernel density
circular_mode(x, kernel = "wrappedcauchy")

Run the code above in your browser using DataLab