Learn R Programming

ggmosaic (version 0.3.3)

product: Wrapper for a list

Description

Wrapper for a list

Wrapper for a list

Usage

product(...)

product(...)

Arguments

...

Unquoted variables going into the product plot.

Examples

Run this code
# NOT RUN {
data(titanic)
ggplot(data = titanic) +
  geom_mosaic(aes(x = product(Survived, Class), fill = Survived))
data(titanic)
ggplot(data = titanic) +
  geom_mosaic(aes(x = product(Survived, Class), fill = Survived))
# }

Run the code above in your browser using DataLab