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)

GGally documentation built on May 29, 2024, 8:29 a.m.