ニュース

Attribution: Derived from the Programming with {dplyr} vignette by Hadley Wickham, Romain François, Lionel Henry, Kirill Müller, and RStudio. Most {tidyverse} verbs use tidy evaluation in some way.
The functions used in the earlier tutorial on data preparation worked on individual rows. In many cases, you need to compute properties of groups of rows (cases). For example, you might want to know ...
How do I do that in data.table? Find code for dozens of data tasks in this searchable cheat sheet of R data.table and Tidyverse code.
But what if you’re a Tidyverse user and you want to run a function across multiple columns? As of dplyr 1.0, there will be a new function for this: across(). Let’s take a look.