Learn R Programming

umx (version 4.20.0)

rad2deg: Convert Radians to Degrees

Description

Just a helper to multiply radians by 180 and divide by \(\pi\) to get degrees.

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

There are \(2\pi\) radians in a circle. 1 Rad = \(180/\pi\) degrees = ~ 57.296 degrees.

Usage

rad2deg(rad)

Value

  • value in degrees

Arguments

rad

The value in Radians you wish to convert

References

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

See Also

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

Examples

Run this code
rad2deg(pi) #180 degrees

Run the code above in your browser using DataLab