As well as being an exercise in learning statistical methods and R programming skills, this is also about developing an efficient, modern academic workflow in keeping with the values of reproducible research and literate learning.
This was written in RMarkdown using RStudio, and then [Knit] (knitr's creator Xie is consciously referencing Knuth's term) together simply by pressing the button in RStudio. This, I think, requires having pdflatex.exe available in your PATH. I downloaded MiKTeX. knitr
makes use of pandoc, but I don't think you need to install that separately. The LaTeX template being used is Steven Miller, who I think I came across through Cillian.
To manage my citations I use Zotero, which is wonderful, together with the better-bibtex extension, which makes the citation keys much prettier (go to TOOLS>PREFERENCES; click the Better-Bibtex tab; and I put [authors2][year]
in the Citation Key Format box). Hat-tip to Nicholas Cifuentes-Goodbody who made me aware of Zotero and Better-Bibtex. I also make sure I have the Zotero extension in my Chrome browser.