etoa: Transform unit vectors to angular data

View source: R/etoa.R

Transform unit vectors to angular dataR 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

vmnb.pred

Examples

x <- rvmf(10, rnorm(3), 5)
y <- etoa(x)

Directional documentation built on Oct. 30, 2024, 9:15 a.m.