get_distance_members: Identify points within a great circle distance

View source: R/get-distance-members.R

get_distance_membersR Documentation

Identify points within a great circle distance

Description

Identify points within a great circle distance

Usage

get_distance_members(df, id, coords, dist, unit = c("miles", "km"))

Arguments

df

The input data frame

id

The identifying variable

coords

Nested coordinate object with x,y coordinates for the point

dist

The maximum distance allowed

unit

The unit (miles or km)


graveja0/hcmarket documentation built on May 24, 2022, 6:28 p.m.