Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

deg2rad

Convert Degrees to Degrees


Description

A helper to convert degrees (360 in a circle) to Rad ( in a circle), so deg x 180/π to get radians.

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

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

See Also

Other Miscellaneous Functions: fin_NI(), fin_interest(), fin_percent(), fin_valuation(), loadings.MxModel(), rad2deg(), umxBrownie()

Examples

deg2rad(180) == pi # TRUE!

umx

Structural Equation Modeling and Twin Modeling in R

v4.10.10
GPL-3
Authors
Timothy C. Bates [aut, cre] (<https://orcid.org/0000-0002-1153-9007>), Gillespie Nathan [wit], Michael Zakharin [wit], Brenton Wiernik [ctb], Joshua N. Pritikin [ctb], Michael C. Neale [ctb], Hermine Maes [ctb]
Initial release
2021-11-30

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.