Transform unit vectors to angular data
Transform unit vectors to angular data.
etoa(x)
x |
A numerical matrix with directional data, i.e. unit verctors. |
from the Euclidean coordinates the data are mapped to angles, expressed in rads.
A list including:
mu |
A matrix with angles. The number of columns is one less than that of the original matrix. |
Michail Tsagris
R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.
https://en.wikipedia.org/wiki/N-sphere#Spherical_coordinates
x <- rvmf(10, rnorm(3), 5) y <- etoa(x)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.