ang.pdist | R Documentation |
ang.pdist
computes pairwise angular distances matrix.
ang.pdist(data)
data |
n x d angular data on [0, 2π)^d |
ang.pdist
returns pairwise angular distances matrix
with the class dist
Jung, S., Park, K., & Kim, B. (2021). Clustering on the torus by conformal prediction. The Annals of Applied Statistics, 15(4), 1583-1603.
ang.dist
, dist
data <- matrix(c(pi/3, pi/3, pi/2, pi, pi/4, pi/2, 0, pi/3, pi/6), ncol = 3, byrow = TRUE) ang.pdist(data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.