mapping_swap_x_y: Swap x and y mapping

Description Usage Arguments Value Examples

View source: R/gg-plots.R

Description

Swap x and y mapping

Usage

1

Arguments

mapping

output of ggplot2::aes(...)

Value

Aes mapping with the x and y values switched

Examples

1
2
3
mapping <- ggplot2::aes(Petal.Length, Sepal.Width)
mapping
mapping_swap_x_y(mapping)

GGally documentation built on May 18, 2018, 1:08 a.m.