circ_mean_rad {circhelp}R Documentation

Circular mean

Description

Circular mean

Usage

circ_mean_rad(x, na.rm = FALSE)

circ_mean_180(x, na.rm = FALSE)

circ_mean_360(x, na.rm = FALSE)

Arguments

x

vector of values

na.rm

a logical value indicating whether NA values should be removed before the computation proceeds

Value

mean of values in the vector

Functions

Examples

x <- runif(1000, -pi, pi)
mean(x)
circ_mean_rad(x)


[Package circhelp version 1.1 Index]