CreateVoronoiTessellation: Computing weights based on Voronoi tessellation

Description Usage Arguments Value

View source: R/BasicFunctions.R

Description

Creating a Voronoi tessellation from a set of points and calculates the area of each tile which are within a given domain

Usage

1
2
3
4
5
6
CreateVoronoiTessellation(
  locationsCoordX,
  locationsCoordY,
  observationDomain,
  parallelize.numCores
)

Arguments

locationsCoordX

Numeric vector, specifying the x-coordinates of the locations where where tesslations are to be computes

locationsCoordY

Numeric vector, specifying the y-coordinates of the locations where where tesslations are to be computes

observationDomain

Data frame with 5 columns, where the 2 last are the coordinates of each of the polygons defining the observation domain, and the 2nd is the polygon ID each coordinate belong to

Value

A list whose first element (tiles) gives the actual tiles and second element giving the area of these intersecting with the specified domain


PointProcess/SealPupProduction-JRSSC-code documentation built on Jan. 27, 2020, 10:06 p.m.