Row-wise and column-wise operations in dplyr and tidyverse

Jake Jing
7 min readAug 2, 2021
Column- and row-wise operations

With the development of dplyr or its umbrella package tidyverse, it becomes quite straightforward to perform operations over columns or rows in R. These column- or row-wise methods can also be directly integrated with other dplyr verbs like select, mutate, filter and summarise, making them more comparable with other functions in apply or map families. In this blog, I will briefly cover…

--

--