geo_region: Allocate region name to points

View source: R/geofunctions.R

geo_regionR Documentation

Allocate region name to points

Description

Allocate region name to points

Usage

geo_region(x, y, reg, region.name = "Region")

Arguments

x

A vector of longitudes.

y

A vector of latitudes.

reg

A data.frame contain column names lon, lat and Region.

region.name

The column name in object reg that contains the value/text to be returned.

Value

A vector of region names


einarhjorleifsson/gisland documentation built on Feb. 2, 2024, 11:21 p.m.