dmsabs: Separates a coordinate string into degrees, minutes and...

Description Usage Arguments Value Author(s) See Also Examples

Description

A format string is used (fmt) to indicate which values in the input string are associated with degrees, minutes and seconds.

Usage

1
dmsabs(coordstr, fmt)

Arguments

coordstr

a coordinate string without delimiters

fmt

a format string where d indicates degrees, m indicates minutes and s indicates seconds, L indicates a letter (N,S,E,W)

Value

returns a dataframe with degrees, minutes, seconds and letter in separate columns

Author(s)

Mark Robertson

See Also

dmsparse

Examples

1
2
dmsabs("234513S","ddmmssL")
dmsabs("23_45_13_S","dd_mm_ss_L")

biogeo documentation built on May 1, 2019, 8:05 p.m.