Skip to contents

Angle in Degree to Angle in rad

Usage

gradToRad(grad)

Arguments

grad

vector of angles in degrees

Examples

gradToRad(c(0, 90, 180, 270, 360)) / pi
#> [1] 0.0 0.5 1.0 1.5 2.0