Plots the Bar Plots Faceted by Conditional Variable

Share:

Description

X variables are plotted using geom_bar and faceted by the Y variable.

Usage

1
ggally_facetbar(data, mapping, ...)

Arguments

data

data set using

mapping

aesthetics being used

...

other arguements are sent to geom_bar

Author(s)

Barret Schloerke schloerke@gmail.com

Examples

1
2
3
 data(tips, package = "reshape")
 ggally_facetbar(tips, ggplot2::aes(x = sex, y = smoker, fill = time))
 ggally_facetbar(tips, ggplot2::aes(x = smoker, y = sex, fill = time))

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.