dms_to_decimal: Function to convert degrees, minutes, and seconds (DMS) to...

View source: R/dms_to_decimal.R

dms_to_decimalR Documentation

Function to convert degrees, minutes, and seconds (DMS) to decimal degrees.

Description

Function to convert degrees, minutes, and seconds (DMS) to decimal degrees.

Usage

dms_to_decimal(degrees, minutes, seconds, convert = FALSE)

Arguments

degrees

Degrees vector.

minutes

Minutes vector.

seconds

Seconds vector.

convert

Force the input to be numeric vectors. Default is FALSE.

Value

Numeric vector representing degrees, minutes, and seconds as decimal degrees.

Author(s)

Stuart K. Grange


skgrange/gissr documentation built on June 20, 2024, 12:02 a.m.