Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

land.points

Check of hauls position


Description

The function checks whether the hauls coordinates is erroneously on the land.

Usage

land.points(TA, land=countries, verbose=TRUE)

Arguments

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

Details

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.

Value

The function returns the data frame of the hauls coordinates that fall on the land

Author(s)

Walter Zupa

Examples

land.points(TA, land=countries, verbose=FALSE)

MEDITS

Analysis of MEDITS-Like Survey Data

v0.1.7
GPL-3
Authors
Walter Zupa, Loredana Casciaro, Isabella Bitetto, Maria Teresa Spedicato
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.