Description Usage Arguments Details See Also Examples
Set or convert angles conventions
1 2 3 4 5 6 7 | as.bearing(x)
as.heading(x)
as.trig(x)
as.angle(x)
|
x |
vector of angles; either a numeric vector, in which case numbers are assumed to be angles which follow the convention of the function used (trigonometric angles, bearings, etc.); or a vector of class circular, in which case the angles will be converted from their current convention to the convention of the function used |
Bearings are angles from North, always positive, measured clockwise, in degrees
Headings are angles from North, positive in the clockwise direction, in degrees, always in [-180;180]
Trigonometric angles are angles from the horizontal, measured counter-clockwise, in radians
"Angles" are trigonometric angles but in degrees
circular
and conversion.circular
in package circular
1 2 3 4 5 6 7 8 9 | as.trig(pi/2)
as.bearing(90)
as.angle(90)
as.angle(as.trig(pi/2))
as.bearing(as.trig(pi/2))
as.bearing(as.trig(0))
as.trig(as.bearing(0))
as.trig(as.bearing(90))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.