asin_d: Compute inverse sine with angle given in degrees

Description Usage Arguments Details Value Note Author(s) See Also Examples

Description

Provides the functionality of asin, but for input angles measured in degrees (not radians).

Usage

1
asin_d(theta = 0)

Arguments

theta

A numeric angular measurement in degrees from north.

Details

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.

Value

Returns a numeric value for the inverse sine of the specified angular measurement.

Note

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.

Author(s)

Tarmo K. Remmel

See Also

sin_d, cos_d, tan_d, acos_d, atan_d

Examples

1
asin_d(theta = 90)

aspace documentation built on May 29, 2017, 7:38 p.m.

Search within the aspace package
Search all R packages, documentation and source code