Learn R Programming

asteRisk (version 1.4.3)

deg2rad: Converts an angle in degrees to radians

Description

This function converts an angle in degrees to radians.

Usage

deg2rad(degrees)

Value

The corresponding value of the angle in radians.

Arguments

degrees

Value of the angle in degrees.

Examples

Run this code
deg2rad(180)

Run the code above in your browser using DataLab