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

inAngle

Calculate angle between two arcs.


Description

Another rather superfluous helper function, calculating the radian angle between two radian angles. Internally called by smoothArc.

Usage

inAngle(a, b)

Arguments

a

Radian angle 1.

b

Radian angle 2.

Value

Numeric in range from -pi to pi.

Author(s)

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

See Also

Examples

inAngle(pi, pi);
inAngle(pi,-0.5*pi)/pi;
inAngle(pi, 0.5*pi)/pi;
inAngle(pi, 2.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.