
I’m not sure if there’s a better way to do this, but when you have multiple R scripts to run every single time, it makes sense to combine everything into a single “Mother-Of-All-Analyses” kind of script.
As you can see, I’m still very much a script kiddie when it comes to running analyses in R. But even at this stage, I can already see how useful it is to know all this stuff. Anyone wanting to be a clinician-scientist should seriously consider dedicating some amount of time to learning the ins and outs of statistics instead of just delegating the work to a statistician (as I know many people still do).