ggally_facethist: Plots the Histograms by Faceting

Description Usage Arguments Author(s) Examples

View source: R/gg-plots.R

Description

Make histograms by displaying subsets of the data in different panels.

Usage

1

Arguments

data

data set using

mapping

aesthetics being used

...

parameters sent to stat_bin()

Author(s)

Barret Schloerke [email protected]

Examples

1
2
3
 data(tips, package = "reshape")
 ggally_facethist(tips, mapping = ggplot2::aes(x = tip, y = sex))
 ggally_facethist(tips, mapping = ggplot2::aes_string(x = "tip", y = "sex"), binwidth = 0.1)

Example output

`stat_bin()` using `bins = 30`. Pick better value with `binwidth`.

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