How to efficiently mutate multiple columns of a large dataframe
问题 I would appreciate any help to efficiently apply my function to multiple columns of my large data frame DT_large . My function works well and efficiently when I apply it with dplyr::mutate_at() to a small data frame DT_small . However, when applied to a relatively large dataset DT_large , available here, it takes dplyr::mutate_at() several hours to deliver the desired output. It might be that there is some mistake in my code that is making dplyr::mutate_at() less efficient with my relatively