findClosest: Find the closest non NA point in a raster

View source: R/stream.r

findClosestR Documentation

Find the closest non NA point in a raster

Description

Find the closest non NA point in a raster

Usage

findClosest(x, y, buff)

Arguments

x

a spatial object

y

a raster

buff

The distance (in map units) to restrict the search from points in x

Details

Finds the points in y that are closest to x

Value

The index in y of the closest point


mtalluto/WatershedTools documentation built on May 21, 2022, 7:49 p.m.