tbl_module: Run a function outside of the pipe sequence

Description Usage Arguments Examples

Description

Run a function outside of the pipe sequence and create a tibble in global environment for it while passing previous state of data frame through to the next pipe step.

Usage

1

Arguments

df, fun, name

a data frame, a function to run and a name for created tibble object

Examples

1
mtcars %>% tbl_out("cars") %>% tbl_module(filter(.,hp > 150),"fastCars") %>% tbl_lookup(cyl)

nhemerson/tibbleColumns documentation built on May 29, 2019, 7:18 a.m.