Writing your own functions in R can help you to write better R code.
By better I mean:
- clearer scripts that are easier to understand
- shorter scripts
- less chances of (copy & paste) errors
- scripts that are easier to debug
To follow this tutorial you’ll
need to install a few packages:
install.packages("devtools") devtools::install_github("hadley/tidyverse") devtools::install_github("r-lib/rlang") devtools::install_github("k-hench/hypoimg") devtools::install_github('k-hench/stupid1') devtools::install_github('k-hench/stupid2')