Transform unit vectors to angular data | R Documentation |
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
vmnb.pred
x <- rvmf(10, rnorm(3), 5)
y <- etoa(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.