It transforms the data from the spherical coordinates to Euclidean coordinates.
Usage
euclid(u)
Value
A three column matrix:
U
The Euclidean coordinates of the latitude and longitude.
Arguments
u
A two column matrix or even one single vector, where the first column (or element) is the latitude and the second is the longitude. The order is important.
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 of latitude and longitude and transforms it to unit vectors.