azimut: Calculate Azimut

Description Usage Arguments Value Examples

Description

This function calculate the azimut between two points

Usage

1
azimut(x1 = x1, y1 = y1, xp, yp)

Arguments

x1

X coordinate of the point

y1

Y coordinate of the point

xp

X coordinate of the point, can be a vector of X coordinates

yp

Y coordinate of the point, can be a vector of Y coordinates

Value

returns an azimut values in degree (or a vector of azimnuts)

Examples

1
2
3
x1 = 0 ; y1 = 0
xp = runif(5) ; yp = runif(5)
azimut (x1, y1, xp, yp)

EmmanuelDuchateau/TLS documentation built on May 14, 2019, 2:01 p.m.