Extras
3.4 R Markdown for stats homework
In stats classes (especially graduate stats classes), you often have to submit written answers with your code and output from R. This can be a bit tedious to copy and paste into a Word document, and also might not be that easy to read.
What if there was a way for you to actually complete your whole assignment in R, without any copy and pasting, and have R format your answers and make them look pretty? Good news is…there is! It’s called R Markdown.
Here is a brief 5-minute tutorial on how you can use R markdown to do your homework more efficiently.
If you would like to learn more about R markdowns, we discuss them in Workshop 1 above, and R Studio has made a convenient R Markdown cheat sheet.