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