geo_inside: Spatial location of datapoints

View source: R/geo_inside.R

geo_insideR Documentation

Spatial location of datapoints

Description

Returns spatial attributes of coordinates (longitude and latitude) given spatial polygons.

Usage

geo_inside(lon, lat, map, variable)

Arguments

lon

A numerical vector

lat

A numerical vector

map

Normally a spatialPolygonDataFrame (sf or sp)

variable

The variable name, stored in the map attribute table to be returned. If missing (default) only boolean vector is returned indicating if coordinates are inside or outside any region.


fishvice/tidyices documentation built on Sept. 12, 2023, 4:22 p.m.