etoa: Transform unit vectors to angular data

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/etoa.R

Description

Transform unit vectors to angular data.

Usage

1
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, weibull.nb

Examples

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

Directional documentation built on Nov. 8, 2021, 1:07 a.m.