Learn R Programming

Directional (version 7.0)

Inverse of the Euclidean transformation: Inverse of the Euclidean transformation

Description

It transforms the data from the Euclidan coordinates to latitude dn longitude.

Usage

euclid.inv(U)

Value

A two column matrix:

u

The first column is the latitude and the second is the longitude, both expressed in degrees.

Arguments

U

A matrix of unit vectors, or even one single unit vector in three dimensions.

Author

Michail Tsagris.

R implementation and documentation: Michail Tsagris mtsagris@uoc.gr and Giorgos Athineou <gioathineou@gmail.com>.

Details

It takes the matrix of unit vectors and back transforms it to latitude and longitude.

See Also

euclid, Arotation, lambert

Examples

Run this code
x <- rvmf(10, rnorm(3), 10)
euclid.inv(x)
euclid( euclid.inv(x) )
x

Run the code above in your browser using DataLab