mean_circ: Compute the mean of a vector of circular data

Description Usage Arguments Examples

View source: R/utils.R

Description

Compute the mean of a vector of circular data

Usage

1
mean_circ(theta, units = "radians")

Arguments

theta

a circular variable in radians or degrees.

units

measurement units of the circular variable c("radians", "degrees").

Examples

1
2
library(bpnreg)
mean_circ(subset(Motor, Cond == "exp")$PhaseDiff, units = "degrees")

bpnreg documentation built on May 2, 2019, 6:37 a.m.