ggally_denstrip: Plots a tile plot with facets

Description Usage Arguments Author(s) Examples

View source: R/gg-plots.R

Description

Make Tile Plot as densely as possible.

Usage

1

Arguments

data

data set using

mapping

aesthetics being used

...

other arguments being sent to stat_bin

Author(s)

Barret Schloerke [email protected]

Examples

1
2
3
4
5
6
7
 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")

Example output

`stat_bin()` using `bins = 30`. Pick better value with `binwidth`.
Warning message:
Removed 15 rows containing missing values (geom_bar). 
`stat_bin()` using `bins = 30`. Pick better value with `binwidth`.
Warning message:
Removed 15 rows containing missing values (geom_bar). 
`stat_bin()` using `bins = 30`. Pick better value with `binwidth`.
Warning message:
Removed 22 rows containing missing values (geom_bar). 

GGally documentation built on Aug. 3, 2017, 1:02 a.m.