as.data.frame.voronoiResult: as.data.frame.voronoiResult

View source: R/class_definitions.R

as.data.frame.voronoiResultR Documentation

as.data.frame.voronoiResult

Description

Coerces a voronoiResult object to data frame, omitting polygon data.

Usage

## S3 method for class 'voronoiResult'
as.data.frame(x, ..., stringsAsFactors = FALSE)

Arguments

x

(voronoiResult) A voronoi treemap results object

...

(none) Not used

stringsAsFactors

(logical) Transform strings to factors, default FALSE

Value

Returns a data.frame

See Also

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


m-jahn/WeightedTreemaps documentation built on Dec. 15, 2024, 10:09 a.m.