Learn R Programming

DescTools (version 0.99.43)

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)

Arguments

x

a vector of angles

start

the starting angle for the transformation. Defaults to 0.

Value

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

Details

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

See Also

PlotPolar

Examples

Run this code
# NOT RUN {
Clockwise( c(0, pi/4, pi/2, pi))
# }

Run the code above in your browser using DataLab