R: Plots the density plots by faceting

ggally_facetdensity {GGally} | R Documentation

## Plots the density plots by faceting

### Description

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

### Usage

    ggally_facetdensity(data, mapping, ...)

### Arguments

`data` | data set using
`mapping` | aesthetics being used
`...` | other arguments being sent to stat_density

### Author(s)

Barret Schloerke schloerke@gmail.com

### Examples

     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")
     )

[Package GGally version 1.3.2 Index]