powered by
Function to estimate the hauls length in meters, kilometers and nautical miles, using hauls data (TA, table A) with coordinates in the MEDITS format
MEDITS.distance(data, unit = "m", verbose=TRUE)
data frame containing the hauls data (TA, table A).
string value indicating the measure unit of the distance. Allowed values: "m" for meters, "km" for kilometers and "NM" for nautical miles.
give verbose output reporting in the output the selected measure unit of the distance.
The function returns the vector of the distances expressed in the selected measure unit.
Use data frame containing coordinates in MEDITS format
# NOT RUN { MEDITS.distance(TA, unit="km", verbose=TRUE) # }
Run the code above in your browser using DataLab