circ_descr {circhelp} | R Documentation |
A set of descriptive statistics for circular data
Description
A set of descriptive statistics for circular data
Usage
circ_descr(x, w = NULL, d = NULL, na.rm = FALSE)
Arguments
x |
vector of angles |
w |
weights for the values in the vector |
d |
correction for the bias for data with known spacing |
na.rm |
a logical value indicating whether NA values should be removed before the computation proceeds |
Value
a list with descriptive statistics
mu - mean
sigma - standard deviation
skew_pewsey - skewness as defined by Pewsey
skew_fischer - skewness as defined by Fischer
rho - mean resultant length
skew_rel_to_zero - skewness relative to zero
Examples
x <- c(rnorm(50, 0, 0.5), rnorm(20, 1, 0.5))
circ_descr(x)
[Package circhelp version 1.1 Index]