treat_input_as_expr: treat_input_as_expr

Description Usage Arguments Details Value

Description

Take what was input and treat it as an expression argument to dplyr function.

Usage

1

Arguments

arg

the argument for which the literal input text is to be used as an expression.

Details

This is used inside a function to pass the literal text of what the caller typed as an expression to a 'dplyr' function. These might be logical expressions passed to filter: 'filter(dat, col == "example")', or functions of columns passed to mutate or summarise: 'summarise(dat, mean(col))'.

Value

something that will resolve to an expression when prefixed by '!!'


MilesMcBain/rlung documentation built on May 21, 2019, 9:22 a.m.