exmpl <- data.frame(species = sample(letters, size = 250, replace = TRUE),
decimalLongitude = runif(250, min = 42, max = 51),
decimalLatitude = runif(250, min = -26, max = -11))
test <- clean_coordinates(exmpl, species = "species",
tests = c("sea", "gbif", "zeros"),
verbose = FALSE)
summary(test)
plot(test)
Run the code above in your browser using DataLab