power_to_angle: Transform flow directions powers of 2 to angular data

Description Usage Arguments See Also

Description

Tranditional flowdir directions are expressed in power of two where 1 is East, 2 is South-East, 4 is South, 8 is South-West, etc.

Usage

1
power_to_angle(x, radians = FALSE)

Arguments

x

numeric should be a vector containing powers of 2

radians

boolean should the result be in radians (default is degrees)

See Also

terrain


etiennebr/visualraster documentation built on May 16, 2019, 9:06 a.m.