Learn R Programming

GeodesiCL (version 1.0.0)

radians: To convert separated data in Degrees Minutes and Seconds to Radians.

Description

With this function it is possible to convert separated data in Degrees Minutes and Seconds to Radians.

Usage

radians(x, y, z, digits = 4)

Arguments

x

Value of Degree in Latitude or Longitude.

y

Value of Minute in Latitude or Longitude.

z

Value of Seconds in Latitude or Longitude.

digits

Number of digits the seconds are rounded to. DEFAULT: 4

Value

value

Examples

Run this code
# NOT RUN {
# Lat
g <- -33
m <- 38
s <- 30.123456
value <- radians(g, m, s, digits = 4)
print(value)
# }

Run the code above in your browser using DataLab