Skip to contents

'Creates treemap visualizations for categorical data'

Usage

jjtreemap(
  data,
  group,
  size,
  color,
  aspectRatio = 1.67,
  borderWidth = 0.7,
  labelLevel1Size = 15,
  labelLevel2Size = 12,
  labelLevel1Color = "white",
  labelLevel2Color = "black",
  labelFontFace = "normal",
  labelBackground = "transparent",
  labelAlignH = "center",
  labelAlignV = "center",
  labelOverlap = 0.5,
  title = "",
  subtitle = "",
  caption = ""
)

Arguments

data

The data as a data frame.

group

.

size

.

color

.

aspectRatio

.

borderWidth

.

labelLevel1Size

.

labelLevel2Size

.

labelLevel1Color

.

labelLevel2Color

.

labelFontFace

.

labelBackground

.

labelAlignH

.

labelAlignV

.

labelOverlap

.

title

.

subtitle

.

caption

.

Value

A results object containing:

results$todoa html
results$plotan image

Examples

# \donttest{
# example will be added
# }