switchUnit: Switch the unit of an Angle.

Description Usage Arguments See Also Examples

Description

Switch consistently the unit of an Angle. If it is in radians convert it to degrees and vice versa.

Usage

1
2
3
4
switchUnit(x)

## S4 method for signature 'Angle'
switchUnit(x)

Arguments

x

Angle.

See Also

asAngle.

Examples

1
2
3
a <- asAngle(90)
a
switchUnit(a)

GastonMauroDiaz/caiman documentation built on Jan. 22, 2022, 4:43 a.m.