deg2coor {RGeostats}R Documentation

Convert from long-lat to cartesian coordinates

Description

Convert from long-lat to cartesian coordinates

Usage

deg2coor(long, lat, relief = NA, dilate=1, factor = 1, flag.truncate = 0,...)

Arguments

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 variety.define).

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

Value

A list containing three vectors corresponding to the cartesian coordinates of the input samples.


[Package RGeostats version 14.0.10 Index]