Learn R Programming

umx (version 4.9.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\(^{\circ}\))

Usage

rad2deg(rad)

Arguments

rad

The value in Radians you wish to convert

Value

  • value in degrees

References

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

See Also

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

Examples

Run this code
# NOT RUN {
rad2deg(pi) #180 degrees
# }

Run the code above in your browser using DataLab