The development of dplyr and purrr packages makes the workflow of R programming more smooth and flexible. The dplyr package provides an elegant way of manipulating data.frames or tibbles in a column-wise (e.g., select, filter, mutate, arrange, group_by, summarise and case_when) or row-wise (rowwise, c_across, and ungroup) manner. …