Created
October 24, 2020 17:43
-
-
Save kleinlennart/e3d5078556ded25ef8037df5e378770e to your computer and use it in GitHub Desktop.
Dplyr Mutate Function Collection
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Mutate numeric (0 / 1) coded columns to logical | |
dat <- s1 %>% | |
mutate(across(where(is.numeric), as.logical)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment