Learn R Programming

DescTools (version 0.99.52)

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

Value

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

Arguments

x

a vector of angles

start

the starting angle for the transformation. Defaults to 0.

Author

Andri Signorell <andri@signorell.net>

Details

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

See Also

PlotPolar

Examples

Run this code
Clockwise( c(0, pi/4, pi/2, pi))

Run the code above in your browser using DataLab