cropped_voronoi {WeightedTreemaps}R Documentation

cropped_voronoi

Description

Tesselates a plane using a set of XY coordinates

Usage

cropped_voronoi(sites)

Arguments

sites

(numeric matrix) The only input parameter for the function. A matrix with 3 columns: X and Y coordinates, as well as weights that are used for tesselation.

Details

The function is only intended for internal use. However, one can also use it directly for test purposes.

Value

A list of cell coordinates; one cell for each set of input coordinates.


[Package WeightedTreemaps version 0.1.2 Index]