d2r: Degree to Radian

Description Usage Arguments Value Examples

View source: R/Geometry.R

Description

Degree to Radian

Usage

1
d2r(x)

Arguments

x

Degree

Value

Radian

Examples

1
2
3
4
5
6
r = (1:100)/100 * 4 * pi
d = r2d(r)
rr = d2r(d)
plot(d, sin(rr));
abline(h=0 )
abline(v = 360)

happynotes/RoundAndRound documentation built on Jan. 31, 2020, 12:05 p.m.