GGally (version 1.4.0)

ggally_facethist: Plots the Histograms by Faceting

Description

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

Usage

ggally_facethist(data, mapping, ...)

Arguments

data

data set using

mapping

aesthetics being used

...

parameters sent to stat_bin()

Examples

Run this code
# NOT RUN {
 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)
# }

Run the code above in your browser using DataCamp Workspace