Description Usage Arguments Details Value Author(s) Examples
Function to estimate the hauls length using TA (table A, hauls data) with coordinates in the decimal degrees format (dd.ddd). The distances could be returned expressed in meters, kilometers and nautical miles.
1 | dd.distance(data, unit = "m", verbose=TRUE)
|
data |
data frame of 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. |
The TA file should be populated with coordinates in dicimal degrees format.
The function returns the vector of the distances expressed in the selected measure unit.
Walter Zupa
1 2 | TA.dd <- MEDITS.to.dd(TA)
dd.distance(TA.dd, unit="km", verbose=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.