as.data.frame.sunburstResult {WeightedTreemaps}R Documentation

as.data.frame.sunburstResult

Description

Coerces a sunburstResult object to data frame.

Usage

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

Arguments

x

(sunburstResult) A sunburst treemap results object

...

(none) Not used

stringsAsFactors

(logical) Transform strings to factors, default FALSE

Value

Returns a data.frame

See Also

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


[Package WeightedTreemaps version 0.1.2 Index]