Transform unit vectors to angular data {Directional} | R Documentation |
Transform unit vectors to angular data
Description
Transform unit vectors to angular data.
Usage
etoa(x)
Arguments
x |
A numerical matrix with directional data, i.e. unit verctors. |
Details
from the Euclidean coordinates the data are mapped to angles, expressed in rads.
Value
A list including:
mu |
A matrix with angles. The number of columns is one less than that of the original matrix. |
Author(s)
Michail Tsagris.
R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.
References
https://en.wikipedia.org/wiki/N-sphere#Spherical_coordinates
See Also
Examples
x <- rvmf(10, rnorm(3), 5)
y <- etoa(x)
[Package Directional version 6.7 Index]