to_deg_rad: Transform Between Degree and Radian

Description Usage Arguments Value Examples

Description

This function transforms a circular angle from degree to radian or from radian to degree.

Usage

1
2
3
torad(x)

todeg(x)

Arguments

x

A degree value if torad or radian value if todeg.

Value

A radian value if torad or degree value if todeg.

Examples

1
2
3
4
5
torad(90)

torad(-45)

todeg(pi/2)

vinhtantran/monoClust documentation built on March 12, 2021, 11:11 p.m.