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))

DescTools documentation built on Sept. 26, 2024, 1:07 a.m.