ggally_box: Plots the Box Plot

Description Usage Arguments Author(s) Examples

View source: R/gg-plots.R

Description

Make a box plot with a given data set. ggally_box_no_facet will be a single panel plot, while ggally_box will be a faceted plot

Usage

1
2
3

Arguments

data

data set using

mapping

aesthetics being used

...

other arguments being supplied to geom_boxplot

Author(s)

Barret Schloerke [email protected]

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
 data(tips, package = "reshape")
 ggally_box(tips, mapping = ggplot2::aes(x = total_bill, y = sex))
 ggally_box(tips, mapping = ggplot2::aes_string(x = "total_bill", y = "sex"))
 ggally_box(
   tips,
   mapping        = ggplot2::aes_string(y = "total_bill", x = "sex", color = "sex"),
   outlier.colour = "red",
   outlier.shape  = 13,
   outlier.size   = 8
 )

Example output



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