ggmosaic: Mosaic plot in ggplot-style

View source: R/ggmosaic.R

ggmosaicR Documentation

Mosaic plot in ggplot-style

Description

Creates a nice-looking mosaic plot in ggplot-style.

Usage

ggmosaic(data, xvar, yvar, useNA = "no", ...)

Arguments

data

A dataset.

xvar

name of the first variable

yvar

name of the second variable

useNA

Should NAs be considered (regarding to the table() function)

...

Further inputs.

Author(s)

Dennis Freuer


freuerde/puzzle documentation built on March 27, 2022, 5:30 p.m.