Skip to contents

Vertical spine partition: width constant, height varies.

Usage

vspine(data, bounds, offset = offset, max = NULL)

Arguments

data

bounds data frame

bounds

bounds of space to partition

offset

space between spines

max

maximum value

Value

A data frame of rectangle boundaries (l, r, b, t), one row per level of data.

Examples

data(titanic)
ggplot(data = titanic, aes(x = product(Class))) +
  geom_mosaic(divider = "vspine")