50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


GGally (version 1.3.0)

ggally_barDiag: Plots the Bar Plots by Using Diagonal

Description

Plots the bar plots by using Diagonal.

Usage

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

Arguments

data

data set using

mapping

aesthetics being used

...

other arguements are sent to geom_bar

rescale

boolean to decide whether or not to rescale the count output. Only applies to numeric data

Examples

Run this code
data(tips, package = "reshape")
ggally_barDiag(tips, mapping = ggplot2::aes(x = day))
ggally_barDiag(tips, mapping = ggplot2::aes(x = tip), binwidth = 0.25)

Run the code above in your browser using DataLab