deg2coor {RGeostats} | R Documentation |
Convert from long-lat to cartesian coordinates
deg2coor(long, lat, relief = NA, dilate=1, factor = 1, flag.truncate = 0,...)
long |
Array of longitude values. This array must have the same dimension as 'lat'. |
lat |
Array of latitude values. This array must have the same dimension as 'long'. |
relief |
Array giving the relief. This array must have the same dimension as 'long' and 'lat'. |
dilate |
Multiplicative coefficient applied to the Radius of the Sphere
(defined in |
factor |
Multiplicatif coefficient applied to the 'relief'. |
flag.truncate |
When flag.truncate>0, the negative values of 'relief' are truncated up to zero before representation When flag.truncate<0, the positive values of 'relief' are truncated down to zero before representation When flag.truncate=0, no truncation is performed. |
... |
Arguments used to avoid having unused graphic parameters |
A list containing three vectors corresponding to the cartesian coordinates of the input samples.