Try splitting up and writing more modular (i.e. shorter) functions. Ideally, one function must do one thing only. And then you can have wrapper functions that combine several minor functions. The latter are easier to understand, test, modify, etc.
Also, remember to include the package name before every function (e.g. dplyr::summarise)
Hi @aliciamontesinos @jlgarridosan @VeruGHub
Good job! I've done some clean up
Try splitting up and writing more modular (i.e. shorter) functions. Ideally, one function must do one thing only. And then you can have wrapper functions that combine several minor functions. The latter are easier to understand, test, modify, etc.
Also, remember to include the package name before every function (e.g. dplyr::summarise)