Functions allow you to reuse your own coding work more easily: Don't Repeat Yourself (DRY), aka less copy pasting of codeā¦
Go [in depth](http://adv-r.had.co.nz/Functions.html#function-arguments), do a check [under the hood](https://swcarpentry.github.io/r-novice-inflammation/14-supp-call-stack/) or learn more about [programming with `dplyr`](https://dplyr.tidyverse.org/articles/programming.html).