lat_long_dec: Convert lat and long to decimal

Description Usage Arguments Value Examples

View source: R/oceano.R

Description

Convert lat and long to decimal

Usage

1
lat_long_dec(degree, minute, orientation, coordinate_type)

Arguments

degree

integer

minute

integer

orientation

"E" or "W" for long, "N" or "S" for lat, for the equitor can be anything

coordinate_type

"longitude" or "latitude"

Value

Decimal coordinates or NA if coordinate_type is wrong

Examples

1
lat_dec <- lat_long_dec(10, 30, "N", "latitude")

vaulot/dvutils documentation built on Nov. 20, 2021, 11:01 a.m.