dplyr 1.0.0 - Working with Rows - Tidyverse Blog

dplyr 1.0.0: working within rows

Hadley Wickham - 2020-04-10

This post is the latest in a series of post leading up the the dplyr 1.0.0 release. So far, the series has covered:

Today, I wanted to talk a little bit about the renewed rowwise() function that makes it easy to perform operations “row-by-row”. I’ll show how you can use rowwise() to compute summaries “by row”, talk about how rowwise() is a natural pairing with list-columns, and show a couple of use cases that I think are particularly elegant. You can learn more about all of these topics in vignette("rowwise") .

Read more at dplyr 1.0.0: working within rows

1 Like

I was starting to get used to leveraging purrr's map functions for rowwise calculations. I'm happy to abandon that for this though. It takes some extra thought to craft those manipulations sometimes. I think I've looked at this page hundreds of times because I'd keep forgetting various tricks to deal with this issue.

This topic was automatically closed after 42 days. New replies are no longer allowed.