evaldp: Eval a manip function using a string

Description Usage Arguments Details Note References Examples

View source: R/evaldp.R

Description

Eval a manip function using a string

Usage

1
evaldp(.data, .fun.name, ..., .envir = parent.frame())

Arguments

.data

a tbl

.fun.name

any manip function

...

string arguments

.envir

environment

Details

Useful for programming with dplyr

Note

It is possible that in the next release of dplyr these functionalities would appear. Then they will be removed from this package.

References

https://gist.github.com/skranz/9681509

Examples

1
2
3
library(dplyr)
iris %>% evaldp(arrange,"Sepal.Length") %>%
         evaldp(filter, "Sepal.Length > 5, Species=='virginica'")

freqweights documentation built on May 29, 2017, 12:01 p.m.