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

Description Usage Arguments Value Examples

View source: R/Radians.R

Description

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

Usage

1
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

1
2
3
4
5
6
# Lat
g <- -33
m <- 38
s <- 30.123456
value <- radians(g, m, s, digits = 4)
print(value)

GeodesiCL documentation built on May 25, 2021, 5:10 p.m.