deg2rad: Convert Degrees to Degrees

deg2radR Documentation

Convert Degrees to Degrees

Description

A helper to convert degrees (360 in a circle) to Rad (2\pi in a circle).

note: R's trig functions, e.g. sin() use Radians for input!

The formula is radians = deg x 180/\pi.

  • 180 Degrees is equal to \pi radians.

  • 1 Rad = 180/\pi degrees = ~ 57.296 degrees.

Usage

deg2rad(deg)

Arguments

deg

The value in degrees you wish to convert to radians

Value

  • value in radians

References

https://en.wikipedia.org/wiki/Radian

See Also

  • rad2deg(), sin()

Other Miscellaneous Functions: fin_JustifiedPE(), fin_NI(), fin_interest(), fin_percent(), fin_ticker(), fin_valuation(), rad2deg(), umxBrownie()

Examples

deg2rad(180) == pi # TRUE!

umx documentation built on May 29, 2024, 5:40 a.m.

Related to deg2rad in umx...