dist_points_to_water: Find distance between n points and water objects

Description Usage Arguments Value

View source: R/scratch/water.R

Description

Find distance between n points and water objects

Usage

1
dist_points_to_water(points, xlim = c(0, 25), ylim = c(0, 25), water)

Arguments

points

number of points to generate, or data.frame with lat/lon coordinates

xlim

latitude bounds if points is a number

ylim

longitude bounds if points is a number

water

list of sf geoms representing water locations

Value

data.frame containing coordinates and their corresponding closest water sources


mathedjoe/animaltracker documentation built on Aug. 12, 2021, 7:46 a.m.