tpolygonsByBorder: tpolygonsByBorder for Generation of Thiessen polygons

Description Usage Arguments Value Author(s) Examples

View source: R/tpolygonsByBorder.R

Description

Generate Thiessen polygons according to the point spatialframes and border.

Usage

1
tpolygonsByBorder(x,sidepoly)

Arguments

x

SpatialPointsDataFrame "SpatialPointsDataFrame".

sidepoly

SpatialPolygonsDataFrame, e.g. SpatialPolygonsDataFrame.

Value

A list object:

tpolys

Thiessen polygons, data format: SpatialPolygonsDataFrame

bnd

BND object used in the model in the BayesX.

Author(s)

Lianfa Li lspatial@gmail.com

Examples

1
2
3
4
5
data("samplepnt","prnside")
x=samplepnt
sidepoly=prnside
tpoly=tpolygonsByBorder(x,sidepoly)$tpolys
raster::plot(tpoly)

lspatial/sptemUS documentation built on May 29, 2019, 3:42 a.m.