If you are taking a statistics course or writing methods-based scientific papers, it is likely that you will need to write a statistical formula at some point. R Markdown has built-in support for writing beautiful math expressions using LaTeX mathematics syntax, where any math expression is wrapped in a pair of dollar signs (for inline expressions) or double dollar signs (for display style expressions).
This post is a focused collection of free books for learning R, covering topics for new and advanced users. I will try to keep it updated as I come across new resources. If there are any resources you think I should add, please leave a comment below or DM me on Twitter.
Update: I have improved the functions in this post and turned them into an R package. The source code and installation instructions are available here.
I am currently writing a comprehensive educational resource of all things music called The Musican’s Compendium using bookdown, an R package that can generate print-ready books and ebooks from R Markdown documents.