Learn R Programming

biogeo (version 1.0)

fmtcheck: Coordinate string format check

Description

checks that a coordinate string is not NA, does not have an empty string or if has no numbers i.e. if it is a valid coordinate

Usage

fmtcheck(x)

Arguments

x
a coordinate string

Value

returns a value of 1 if the coordinate has either an NA, an empty string or has no numbers or returns a zero if not

Details

used in dmsparse

See Also

dmsparse

Examples

Run this code
a<-fmtcheck(x="no coordinate")
a<-fmtcheck(x="23_45S")

Run the code above in your browser using DataLab