Learn R Programming

solaR (version 0.46)

C_utils-angle: Conversion between angle units.

Description

Several small functions to convert angle units.

Usage

d2r(x)
r2d(x)
h2r(x)
h2d(x)
r2h(x)
d2h(x)
r2sec(x)

Arguments

x

A numeric value.

Value

A numeric value:

d2r:

Degrees to radians.

r2d:

Radians to degrees.

h2r:

Hours to radians.

r2h:

Radians to hours.

h2d:

Hours to degrees.

d2h:

Degrees to hours.

r2sec:

Radians to seconds.