Learn R Programming

biogeo (version 1.0)

getletter: Find letters in coordinates

Description

Finds letters (N, S, W, E) in a character vector or coordinates

Usage

getletter(x)

Arguments

x
a character vector of coordinates

Value

a dataframe with the coordinate and letter (N, S, E, W) in separate columns

See Also

dmsparse

Examples

Run this code
x<-c("25 30 15S","34 45 12E")
getletter(x)

Run the code above in your browser using DataLab