Calculate the direction component of the vector field with a geographic reference system - 0 degrees as due north and 90 degrees as due east (i.e. aspect)

aspect.calc(x, y)

Arguments

x

x displacement magnitude

y

y displacement magnitude

Value

The aspect of displacement vectors x and y.

Examples

aspect.calc(3,4)
#> [1] 36.8699