CoordCollapse {GeoRange} | R Documentation |
Removes duplicate geographic locations and binds coordinates into a single element
Description
Removes duplicate geographic locations and binds coordinates into a single element
Usage
CoordCollapse(longs, lats)
Arguments
longs |
- Longitudinal coordinates of occurrences in decimal degrees |
lats |
- Latitudinal coordinates of occurrences in decimal degrees |
Value
Returns a 2-column array of coordinates without any duplicate locations
Note
Points are truncated to the hundredths place before checking for duplicates
Examples
longs<-c(34,133,-45)
lats<-c(-12,44,76)
CoordCollapse(longs,lats)
[Package GeoRange version 0.1.0 Index]