Learn R Programming

circhelp (version 1.1)

circ_descr: 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)

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

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

Examples

Run this code
x <- c(rnorm(50, 0, 0.5), rnorm(20, 1, 0.5))
circ_descr(x)

Run the code above in your browser using DataLab