clean_dup: Function to clean duplicated longitude and latitude data

Description Usage Arguments Value

View source: R/clean_dup.R

Description

Clean duplicated longitude and latitude data using threshold distance which is a distance (in grades) between points to be considered duplicates.

Usage

1
clean_dup(data, longitude, latitude, threshold = 0)

Arguments

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 distance (in grades) between coordinates to be considered as a duplicate.

Value

Returns a data.frame with coordinate data from species


luismurao/hdm documentation built on May 24, 2019, 5:06 a.m.