Learn R Programming

GGally (version 1.3.2)

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 arguments 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
# NOT RUN {
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