Learn R Programming

WeightedTreemaps (version 0.1.4)

get_polygons: get_polygons

Description

Extract the list of polygons from a voronoiResult object.

Usage

get_polygons(x, ...)

Value

List of polygons, as class POLYGON from sf

Arguments

x

(voronoiResult) A voronoi treemap results object

...

(none) Not used

See Also

voronoiTreemap for generating the treemap that is the input for this function