Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

addAngle

Sum up two radian angles.


Description

Adds two radian angles together and applies modulus 2*pi. This is internally called by smoothArc, though hardly needed.

Usage

addAngle(a, b)

Arguments

a

Angle 1 in radian.

b

Angle 2 in radian.

Value

numeric value [0, 2*pi).

Author(s)

Lutz P Breitling <l.breitling@posteo.de>

See Also

Examples

addAngle(0.5*pi, pi);
addAngle(1.5*pi, pi);

dagR

R Functions for Directed Acyclic Graphs

v1.2.0
GPL-2
Authors
Lutz P Breitling
Initial release
2021-04-17

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.