GGally (version 1.5.0)

ggally_densityDiag: Plots the Density Plots by Using Diagonal

Description

Plots the density plots by using Diagonal.

Usage

ggally_densityDiag(data, mapping, ..., rescale = FALSE)

Arguments

data

data set using

mapping

aesthetics being used.

...

other arguments sent to stat_density

rescale

boolean to decide whether or not to rescale the count output

Examples

Run this code
# NOT RUN {
 data(tips, package = "reshape")
 ggally_densityDiag(tips, mapping = ggplot2::aes(x = total_bill))
 ggally_densityDiag(tips, mapping = ggplot2::aes(x = total_bill, color = day))
# }

Run the code above in your browser using DataCamp Workspace