R dplyr - across() - Apply Function Across Columns
The across() function operates within dplyr verbs like mutate(), summarise(), and filter(). Its basic structure takes a column selection and a function to apply:
The across() function operates within dplyr verbs like mutate(), summarise(), and filter(). Its basic structure takes a column selection and a function to apply: