Check of hauls position
The function checks whether the hauls coordinates is erroneously on the land.
land.points(TA, land=countries, verbose=TRUE)
TA |
data frame of the hauls data (TA, table A) |
land |
shapefile of countries. Made with Natural Earth. Free vector and raster map data @ naturalearthdata.com. |
verbose |
bulean parameter, if TRUE returns messages about the progress of the elaboration |
The function uses a polygon shapefile of lands as reference to assess whether the points of the hauls fall either on the land or on the sea.
The function returns the data frame of the hauls coordinates that fall on the land
Walter Zupa
land.points(TA, land=countries, verbose=FALSE)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.