ggally_facetdensity: Plots the density plots by faceting

Description Usage Arguments Author(s) Examples

View source: R/gg-plots.R

Description

Make density plots by displaying subsets of the data in different panels.

Usage

1

Arguments

data

data set using

mapping

aesthetics being used

...

other arguments being sent to stat_density

Author(s)

Barret Schloerke [email protected]

Examples

1
2
3
4
5
6
 data(tips, package = "reshape")
 ggally_facetdensity(tips, mapping = ggplot2::aes(x = total_bill, y = sex))
 ggally_facetdensity(
   tips,
   mapping = ggplot2::aes_string(y = "total_bill", x = "sex", color = "sex")
 )

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