mapping_swap_x_y: Swap x and y mapping

View source: R/gg-plots.R

mapping_swap_x_yR Documentation

Swap x and y mapping

Description

Swap x and y mapping

Usage

mapping_swap_x_y(mapping)

Arguments

mapping

output of ggplot2::aes(...)

Value

Aes mapping with the x and y values switched

Examples

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

ggobi/ggally documentation built on April 13, 2024, 3:24 p.m.