MazamaLocationUtils (version 0.1.6)

validateLonsLats: Validate longitude and latitude vectors

Description

Longitude and latitude vectors validated to be parseable as numeric and within the bounds -180:180 and -90:90. If validation fails, an error is generated.

Usage

validateLonsLats(longitude = NULL, latitude = NULL)

Arguments

longitude

Vector of longitudes in decimal degrees E, Default: NULL

latitude

Vector of latitudes in decimal degrees N, Default: NULL

Value

Invisibly returns TRUE if no error message has been generated.