You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
280 B
R
8 lines
280 B
R
14 years ago
|
##################################################
|
||
|
################# as.radians #####################
|
||
|
##################################################
|
||
|
as.radians <- function(degrees) {
|
||
|
# Converts from degrees to radians
|
||
|
radians <- degrees * (pi / 180)
|
||
|
return(radians)
|
||
|
}
|