https://achamess.github.io/Code-Notes/r-code-notes-master.nb.html
For anyone who uses R
or is trying to learn, here is a page (which gets updated in real time) of R code that I find useful for general analyses. I’ll throw some pain research plots in there soon.