dplyr 1.0.0: working within rows
This article is originally published at https://www.tidyverse.org/blog/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: Major lifecycle changes. New summarise() features. select(), rename(), relocate(). Working across() columns. 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.
Thanks for visiting r-craft.org
This article is originally published at https://www.tidyverse.org/blog/
Please visit source website for post related comments.