powered by
Transform unit vectors to angular data.
etoa(x)
A list including:
A matrix with angles. The number of columns is one less than that of the original matrix.
A numerical matrix with directional data, i.e. unit verctors.
Michail Tsagris.
R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.
from the Euclidean coordinates the data are mapped to angles, expressed in rads.
https://en.wikipedia.org/wiki/N-sphere#Spherical_coordinates
vmnb.pred
x <- rvmf(10, rnorm(3), 5) y <- etoa(x)
Run the code above in your browser using DataLab