aes_auto

0th

Percentile

Automatic aesthetic mapping

Automatic aesthetic mapping

Usage
aes_auto(data = NULL, ...)
Arguments
data
data.frame or names of variables
...
aesthetics that need to be explicitly mapped.
Aliases
  • aes_auto
Examples
df <- data.frame(x = 1, y = 1, colour = 1, label = 1, pch = 1)
aes_auto(df)
aes_auto(names(df))

df <- data.frame(xp = 1, y = 1, colour = 1, txt = 1, foo = 1)
aes_auto(df, x = xp, label = txt)
aes_auto(names(df), x = xp, label = txt)

df <- data.frame(foo = 1:3)
aes_auto(df, x = xp, y = yp)
aes_auto(df)
Documentation reproduced from package ggplot2, version 1.0.1, License: GPL-2

Community examples

Looks like there are no examples yet.