powered by
Calculates the average direction of a set of radian circular values.
cmean(x, ...)
A radian value giving mean direction.
A vector of radian values.
Arguments passed to mean.
mean
The base::mean function is use internally, and additional arguments, e.g for missing data handling, are passed to this.
base::mean
data(BCItime) times <- subset(BCItime, species=="ocelot")$time*2*pi cmean(times)
Run the code above in your browser using DataLab