ggally_diagAxis: Internal Axis Labeling Plot for ggpairs

Description Usage Arguments Author(s) Examples

View source: R/gg-plots.R

Description

This function is used when axisLabels == "internal".

Usage

1
2
3
ggally_diagAxis(data, mapping, label = mapping$x, labelSize = 5,
  labelXPercent = 0.5, labelYPercent = 0.55, labelHJust = 0.5,
  labelVJust = 0.5, gridLabelSize = 4, ...)

Arguments

data

dataset being plotted

mapping

aesthetics being used (x is the variable the plot will be made for)

label

title to be displayed in the middle. Defaults to mapping$x

labelSize

size of variable label

labelXPercent

percent of horizontal range

labelYPercent

percent of vertical range

labelHJust

hjust supplied to label

labelVJust

vjust supplied to label

gridLabelSize

size of grid labels

...

other arguments for geom_text

Author(s)

Jason Crowley [email protected] and Barret Schloerke

Examples

1
2
3
 data(tips, package = "reshape")
 ggally_diagAxis(tips, ggplot2::aes(x=tip))
 ggally_diagAxis(tips, ggplot2::aes(x=sex))

Example output



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