View source: R/utils-location.R
validateLonsLats | R Documentation |
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.
validateLonsLats(longitude = NULL, latitude = NULL, na.rm = FALSE)
longitude |
Vector of longitudes in decimal degrees E. |
latitude |
Vector of latitudes in decimal degrees N. |
na.rm |
Logical specifying whether to remove |
Invisibly returns TRUE
if no error message has been generated.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.