shortest_dist2: find least-cost distance between two locations

View source: R/shortest_dist2_qc.R

shortest_dist2R Documentation

find least-cost distance between two locations

Description

calculates least-cost distance between two receiver locations if a land mass lies between them. Only applied on tags detected more than once

Usage

shortest_dist2(position, inst, raster = NULL, tr)

Arguments

position

locations of deployment and subsequent detections as a data.frame of longitude, latitude

inst

installation names of detection (receiver) locations

raster

raster of telemetry region coastline, if NULL then the default Aust_sr SpatRaster is used

tr

transition matrix for calculating least-cost distances (ie. produced via transition, with geoCorrection applied)

Details

...

Value

a 1-column matrix of shortest distances


IMOS-AnimalTracking/remora documentation built on Jan. 29, 2025, 4:38 p.m.