Learn R Programming

bpDir (version 0.1.2)

CircularTukeyDepth: Circular Tukey Depth

Description

Empirical depth ranking based on Tukey<U+2019>s ranking procedure (Tukey, 1977) adapted to the circular setting (Buttarazzi et al, 2018).

Usage

CircularTukeyDepth(x)

Arguments

x

numeric; a vector of class circular in units=c("degrees", "radians")

Value

depth

a two column matrix of circular observations with corresponding depth value

median

the depth-based circular median as an object of class circular

iqr

the depth-based circular inter-quartile range as an object of class circular

References

Buttarazzi D., Pandolfo G., Porzio G.C. (2018). A boxplot for circular data, Biometrics.

Tukey, J. W. (1977). Exploratory Data Analysis. MA: AddisonWesley, Reading (UK).

See Also

CircularBoxplot

Examples

Run this code
# NOT RUN {
#install.packages("circular")
require(circular)
data1 <- rvonmises(50, circular(pi/2), 5)
CircularTukeyDepth(data1)
# }

Run the code above in your browser using DataLab