rm.gg2: Remove 'ggplot2' style and stand-alone aesthetic arguments...

Description Usage Arguments Details

View source: R/utilities.eval.R

Description

Expression aesthetics (variables wrapped in functions or using prefix/infix operators) need to be handled differently than just standalone variable aesthetics (i.e. mpg) or dplyr-like variable calls (i.e. mpg:hp).

Usage

1
rm.gg2(expr)

Arguments

expr

A parse tree generated by substitute(). If the tree is not wrapped by c() then it is advised to wrap x with list().

Details

The reason it is advised wrap x in a list is due to the way x will be indexed/subsetted. The c function wrapping is assumed, so therefore the list wrapping is needed.


ggloop documentation built on May 29, 2017, 4:13 p.m.

Search within the ggloop package
Search all R packages, documentation and source code