distance_harbor: Distance harbor

View source: R/distance_harbor.R

distance_harborR Documentation

Distance harbor

Description

Calculates the distance between a vessel's location and the nearest port. It is necessary to have a file of the locations of all landing ports in the fishery. The distance calculated is the orthodromic distance and expressed in nautical miles. The function returns the distance and the name of the port.

Usage

distance_harbor(data_vms, harbor)

Arguments

data_vms

vms data

harbor

archive of landing port locations for the peruvian industrial purse seine fishery


PabloMBooster/vmsR documentation built on June 29, 2023, 11:16 a.m.