Learn R Programming

treemapify (version 2.3.1)

geom_treemap_subgroup_border: Draw a border around a subgroup of treemap tiles.

Description

Requires <U+2018>area<U+2019> and <U+2018>subgroup<U+2019>. Strange things will happen if geom_treemap_subgroup_border is given a different dataset or area aesthetic than the geom_treemap it is drawn over.

Usage

geom_treemap_subgroup_border(mapping = NULL, data = NULL,
  stat = "identity", position = "identity", na.rm = FALSE,
  show.legend = NA, inherit.aes = TRUE, fixed = F, ...)

Arguments

mapping, data, stat, position, na.rm, show.legend, inherit.aes, ...

Standard geom arguments as for geom_rect.

fixed

Logical, indicating whether the fixed layout algorithm should be used. Defaults to false. See geom_treemap for full details.

Aesthetics

  • area (required)

  • subgroup (required)

  • colour

  • size

  • linetype

  • alpha

See Also

geom_treemap, geom_treemap_subgroup_text