Please Consider Using wrapr::let() for Replacement Tasks

Win-Vector Blog 2017-06-26

Summary:

From dplyr issue 2916. The following appears to work. suppressPackageStartupMessages(library("dplyr")) COL <- "homeworld" starwars %>% group_by(.data[[COL]]) %>% head(n=1) ## # A tibble: 1 x 14 ## # Groups: COL [1] ## name height mass hair_color skin_color eye_color birth_year ## <chr> <int> <dbl> <chr> <chr> <chr> <dbl> ## 1 Luke Skywalker 172 77 blond fair blue … Continue reading Please Consider Using wrapr::let() for Replacement Tasks

Link:

http://www.win-vector.com/blog/2017/06/please-consider-using-wraprlet-for-replacement-tasks/

From feeds:

Statistics and Visualization » Win-Vector Blog

Tags:

Authors:

John Mount

Date tagged:

06/26/2017, 20:06

Date published:

06/26/2017, 13:51