MEDITS.distance: Estimation of haul distance

Description Usage Arguments Details Value Author(s) Examples

View source: R/MEDITS.distance.R

Description

Function to estimate the hauls length in meters, kilometers and nautical miles, using hauls data (TA, table A) with coordinates in the MEDITS format

Usage

1
MEDITS.distance(data, unit = "m", verbose=TRUE)

Arguments

data

data frame containing the hauls data (TA, table A).

unit

string value indicating the measure unit of the distance. Allowed values: "m" for meters, "km" for kilometers and "NM" for nautical miles.

verbose

give verbose output reporting in the output the selected measure unit of the distance.

Details

Use data frame containing coordinates in MEDITS format

Value

The function returns the vector of the distances expressed in the selected measure unit.

Author(s)

Walter Zupa

Examples

1
MEDITS.distance(TA, unit="km", verbose=TRUE)

MEDITS documentation built on Dec. 23, 2019, 1:06 a.m.