rad {holland} | R Documentation |
degrees to radians
Description
This function converts angular locations from degrees to radians
Usage
rad(x, m = FALSE, rev = FALSE)
Arguments
x |
numeric values in degrees |
m |
logical should values > 360 degrees be divided modulo |
rev |
logical if TRUE list objekt is returnd with number of revolutions |
Details
no details
Value
values in radians; optionaly number of revolutions
Examples
## RIASEC angular locations in degrees to radians
rad(c(60,120,180,240,300,360))
rad(720)
rad(720,TRUE)
rad(360)
rad(360,TRUE)
# 810 degrees is two full revolutions and a quater
# which is 1.570796 radians or 90 degrees - check it!
rad(810,TRUE,TRUE)
[Package holland version 0.1.2-1 Index]