GGally (version 1.4.0)

eval_data_col: 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

Run this code
# NOT RUN {
mapping <- ggplot2::aes(Petal.Length)
eval_data_col(iris, mapping$x)
# }

Run the code above in your browser using DataLab