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 schloerke@gmail.com

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 June 8, 2017, 9:03 a.m.

Search within the GGally package
Search all R packages, documentation and source code