dist_mat: Create distance matrix between two sets of positions with...

View source: R/geo.R

dist_matR Documentation

Create distance matrix between two sets of positions with 'geo::arcdist'.

Description

Create distance matrix between two sets of positions with 'geo::arcdist'.

Usage

dist_mat(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.