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

Description Usage Arguments Details

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
which_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.


seasmith/ggloop documentation built on May 29, 2019, 4:56 p.m.