dd_to_ddm: Convert decimal degrees (DD) to degrees decimal minutes...

View source: R/dd_to_ddm.R

dd_to_ddmR Documentation

Convert decimal degrees (DD) to degrees decimal minutes (DDM). This function only accepts coordinates north of the equator and west of the prime meridian.

Description

Convert decimal degrees (DD) to degrees decimal minutes (DDM). This function only accepts coordinates north of the equator and west of the prime meridian.

Usage

dd_to_ddm(dd_coord)

Arguments

dd_coord

Coordinate in DD

Value

The given coordinate converted to DDM

Examples


boat_coords <- data.frame(lat = 44.58509, lon = -80.93900)
boat_coords$dd_lat <- dd_to_ddm(boat_coords$lat)
boat_coords$dd_lon <- dd_to_ddm(boat_coords$lon)


HoldenJe/GLReportR documentation built on April 26, 2023, 10:22 a.m.