Description Usage Arguments Value Examples
Clean duplicated longitude and latitude data using threshold distance which is a distance between points to be considered duplicates.
1 |
data |
A data.frame with longitude and latitude data |
longitude |
A character vector of the column name of longitude. |
latitude |
A character vector of the column name of latitude. |
threshold |
A numerc value representig the eculidean distance between coordinates to be considered as a duplicate. |
Returns a data.frame with coordinate data from species
1 2 3 4 | occ_rec <- read.csv(system.file("exdata/cardon_virtual.csv",
package = "hsi"))
occ_clean <- hsi::clean_dup(occ_rec,longitude="x",
latitude="y",threshold=0.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.