coords2sp.poly: coords2sp.poly function Convert a coordinates matrix into a...

View source: R/coords2sp.poly.R

coords2sp.polyR Documentation

coords2sp.poly function Convert a coordinates matrix into a SpatialPolygons object of circles centered at input coordinates

Description

coords2sp.poly function

Convert a coordinates matrix into a SpatialPolygons object of circles centered at input coordinates

Usage

coords2sp.poly(coords.mat, r = 0.01)

Arguments

coords.mat

Numerical matrix of coordinates with longitude and latitude columns, respectively; coordinates must be in decimal degrees format.

r

Number indicating radius of circles, in degrees.

Value

SpatialPolygons object (see sp package)


JeffWeinell/misc.wrappers documentation built on Sept. 20, 2023, 12:42 p.m.