powered by
lonsex2dec converts sexagesimal longitude data to decimal longitude values.
lonsex2dec
lonsex2dec(degree, minute, second, direction)
The value in degrees of the longitude.
The value in minutes of the longitude.
The value in seconds of the longitude.
The direction, as "E" or "W", of the longitude.
The function returns the longitude value converted in the decimal numeral system
# NOT RUN { lonsex2dec(degree = 10, minute = 10, second = 10, direction = "W") # }
Run the code above in your browser using DataLab