Lesser known dplyr tricks
Contents:
- Removing unneeded columns
- Re-ordering columns
- Renaming columns with rename()
- Selecting columns with a regexp
- Create new columns with mutate() and if_else()
- Apply a function to certain columns only, by rows
- Use do() to do any arbitrary operation
- Using dplyr functions inside your own functions
- Removing unneeded columns
- Re-ordering columns
- Renaming columns with rename()
- Selecting columns with a regexp
- Create new columns with mutate() and if_else()
- Apply a function to certain columns only, by rows
- Use do() to do any arbitrary operation
- Using dplyr functions inside your own functions