powered by
rad2degree converts radians to degrees.
rad2degree(x)
an angle in radians
the angle with the positive x-axis in degrees.
# NOT RUN { x <- pi/2 a <- rad2degree(x) cat("angle is",a,"degrees\n") # }
Run the code above in your browser using DataLab