haul_at_sea {RoMEBS} | R Documentation |
The function identify the hauls that don't fall in the user defined sea area.
haul_at_sea(DataTA, seas = RoMEBS::MedSea, verbose = TRUE)
DataTA |
Haul data table according to MEDITS protocol (TA) |
seas |
polygon shapefile defining the extension of the sea area. The default |
verbose |
boolean varable returning verbose output if TRUE |
The function check whether the haul position falls in the polygon seas
defining the extension of the reference sea area.
The function returns the list of the hauls out of the seas
polygon. In case only starting haul positions are out of the sea's area a data frame is returned. If both starting and end positions are out of the polygon an object of class list
is returned.
I. Bitetto, W. Zupa
Anonymus. 2017. MEDITS-Handbook. Version n. 9. MEDITS Working Group. 106 pp.https://www.sibm.it/MEDITS 2011/principaledownload.htm
library(MEDITS) wd <- tempdir() suffix="2020-03-05_time_h17m44s55" haul_at_sea(MEDITS::TA, seas = MedSea, verbose = TRUE)