eval_data_col: Evaluate data column

View source: R/gg-plots.R

eval_data_colR Documentation

Evaluate data column

Description

Evaluate data column

Usage

eval_data_col(data, aes_col)

Arguments

data

data set to evaluate the data with

aes_col

Single value from an ggplot2::aes(...) object

Value

Aes mapping with the x and y values switched

Examples

mapping <- ggplot2::aes(Petal.Length)
eval_data_col(iris, mapping$x)

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