Learn R Programming

WeightedTreemaps (version 0.1.4)

as.data.frame.sunburstResult: as.data.frame.sunburstResult

Description

Coerces a sunburstResult object to data frame.

Usage

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

Value

Returns a data.frame

Arguments

x

(sunburstResult) A sunburst treemap results object

...

(none) Not used

stringsAsFactors

(logical) Transform strings to factors, default FALSE

See Also

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