wtd.stat.ang {ClusTorus}  R Documentation 
wtd.stat.ang
computes weighted extrinsic mean direction and
mean resultant length.
wtd.stat.ang(data, w)
data 
angular data whose elements are in [0, 2π) 
w 
numeric vector whose each element is nonnegative and

list which is consisting of the following components:
Mean
weighted extrinsic mean direction
R
mean resultant length
S. Jung, K. Park, and B. Kim (2021), "Clustering on the torus by conformal prediction"
data < matrix(c(pi/3, pi/3, pi/2, pi, pi/4, pi/2, 0, pi/3, pi/6), ncol = 3, byrow = TRUE) w < c(0.3, 0.3, 0.4) wtd.stat.ang(data, w)