Provides the functionality of acos, but for input angles measured in degrees (not radians).
acos_d(theta = 0)
A numeric angular measurement in degrees from north.
Since the R default is to compute trigonometric functions on angular measurements stored in radians, this simple function performs the conversion from degrees, reducing the need to do so a priori, outside the function.
Returns a numeric value for the inverse cosine of the specified angular measurement
To reduce the need for unit conversions prior to calling trigonometric functions, this function accepts input in angular degrees rather than radians. Depending on the data source, this function may be preferred to the existing version requiring input in angular radians.
Tarmo K. Remmel
acos_d(theta = 90)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.