Web Links - TutorialAdvisor

Lesser known dplyr tricks

Link informations
Visits number : 308
Category : TutorialAdvisor
Keywords : dplyr, R programming
No comment
0 Note
- 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