Clockwise: Calculates Begin and End Angle From a List of Given Angles in...

View source: R/DescTools.r

ClockwiseR Documentation

Calculates Begin and End Angle From a List of Given Angles in Clockwise Mode

Description

Transforms given angles in counter clock mode into clockwise angles.

Usage

Clockwise(x, start = 0)

Arguments

x

a vector of angles

start

the starting angle for the transformation. Defaults to 0.

Details

Sometimes there's need for angles being defined the other way round.

Value

a data.frame with two columns, containing the start and end angles.

Author(s)

Andri Signorell <andri@signorell.net>

See Also

PlotPolar

Examples

Clockwise( c(0, pi/4, pi/2, pi))

AndriSignorell/DescTools documentation built on April 13, 2024, 6:33 a.m.