deg: radians to degrees

Description Usage Arguments Details Value Examples

Description

This function converts angular locations from radians to degrees

Usage

1
deg(x, m = FALSE, rev = FALSE)

Arguments

x

numeric values in radians

m

logical should values > (2 * 3.141592653589793238462643383279) be divided modulo

rev

logical if TRUE list objekt is returnd with number of revolutions

Details

no details

Value

values in degrees; optionaly number of revolutions

Examples

1
2
3
4
5
6
7
8
9
## RIASEC angular locations in radians to degrees 
deg(c(0, 1.047198, 2.094395, 3.141593, 4.188790, 5.235988))
deg(6.283185)
deg(6.283185,TRUE)
deg(12.56637)
deg(12.56637,TRUE)
# 14.137167 radians is two full revolutions and a quater
# which is 90 degrees or 1.570796 radians- check it!
deg(14.137167,TRUE,TRUE)

holland documentation built on Sept. 5, 2021, 5:08 p.m.