umx (version 4.0.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\(x\) \(\pi\) radians in a circle.

Usage

rad2deg(rad)

Arguments

rad

The value in Radians you wish to convert

Value

  • value in degrees

See Also

Other Miscellaneous Functions: deg2rad()

Examples

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

Run the code above in your browser using DataCamp Workspace