
Calculate neighborhood matrix from maximum distance between points
neib_dist.Rd
Calculate neighborhood matrix from maximum distance between points
Arguments
- coor
data.frame with coordinates.
- dist
numeric, maximum distance (in km) to consider two points as neighbors, default = NULL (calculates the minimum distance that guarantee every point will have at least one neighbor).
- lon
string, default = "lon", column with longitude.
- lat
string, default = "lat", column with latitude.