Description Usage Arguments See Also Examples
Switch consistently the unit of an Angle
.
If it is in radians convert it to degrees and vice versa.
1 2 3 4 | switchUnit(x)
## S4 method for signature 'Angle'
switchUnit(x)
|
x |
|
1 2 3 | a <- asAngle(90)
a
switchUnit(a)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.