geoneighbourID: For two sets of postions, find index of closest in second set...

View source: R/geo.R

geoneighbourIDR Documentation

For two sets of postions, find index of closest in second set to each in first with 'geo::dist_mat'.

Description

For two sets of postions, find index of closest in second set to each in first with 'geo::dist_mat'.

Usage

geoneighbourID(lat, lon, lat1 = NULL, lon1 = NULL)

Arguments

lat,

lon, lat1, lon1 Positions according to the 'geo' paradigm.


sigurdurthorjonsson/bionechi documentation built on Jan. 25, 2023, 6:37 p.m.