GGally (version 1.2.0)

ggally_denstrip: Plots a tile plot with facets

Description

Make Tile Plot as densely as possible.

Usage

ggally_denstrip(data, mapping, ...)

Arguments

data
data set using
mapping
aesthetics being used
...
other arguments being sent to stat_bin

Examples

Run this code
 data(tips, package = "reshape")
 ggally_denstrip(tips, mapping = ggplot2::aes(x = total_bill, y = sex))
 ggally_denstrip(tips, mapping = ggplot2::aes_string(x = "total_bill", y = "sex"))
 ggally_denstrip(
   tips,
   mapping = ggplot2::aes_string(x = "sex", y = "tip", binwidth = "0.2")
 ) + ggplot2::scale_fill_gradient(low = "grey80", high = "black")

Run the code above in your browser using DataCamp Workspace