rad | R Documentation |
This function converts angular locations from degrees to radians
rad(x, m = FALSE, rev = FALSE)
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 |
no details
values in radians; optionaly number of revolutions
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.