| itreemap | R Documentation |
This function is an interactive user interface for creating treemaps. Interaction is provided for the four main input arguments of (treemap) besides the data.frame itself, namely index, vSize, vColor and type. Zooming in and out is possible. Command line outputs are generated in the console.
itreemap(
dtf = NULL,
index = NULL,
vSize = NULL,
vColor = NULL,
type = NULL,
height = 700,
command.line.output = TRUE
)
dtf |
a data.frame ( |
index |
index variables (up to four). See |
vSize |
name of the variable that determine the rectangle sizes. |
vColor |
name of the variable that determine the rectangle colors. See |
type |
treemap type. See |
height |
height of the plotted treemap in pixels. Tip: decrease this number if the treemap doesn't fit conveniently. |
command.line.output |
if |
This interface will no longer be maintained (except for small bugs), since there is a better interactive interface available: https://github.com/d3treeR/d3treeR.
## Not run:
data(business)
itreemap(business)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.