Description Usage Arguments Author(s) Examples
Calculates the positive angular difference between two angles.
1 2 | angular_difference(angle1, angle2, na.rm = TRUE,
units = "degrees")
|
angle1 |
Numeric. First angle(s). |
angle2 |
Numeric. Second angle(s). |
units |
Character. The units of the input (and output). Can be "degrees" (default) or "radians". |
na.rm |
Logical. Unused. Available for compatibility with raster. |
Jonathan A. Greenberg STARStools@estarcion.net
1 2 3 | angle1=c(45,90,355,10)
angle2=c(45,95,5,345)
angular_difference(angle1,angle2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.