deg2rad: Convert Degrees to Degrees

View source: R/misc_and_utility.R

deg2radR Documentation

Convert Degrees to Degrees

Description

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

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

The formula is radians = deg x 180/π.

  • 180 Degrees is equal to π radians.

  • 1 Rad = 180/π 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_NI(), fin_interest(), fin_percent(), fin_valuation(), loadings.MxModel(), rad2deg(), umxBrownie()

Examples

deg2rad(180) == pi # TRUE!

umx documentation built on Sept. 21, 2022, 9:07 a.m.

Related to deg2rad in umx...