This site is a repository of information related to statistics instruction at Hanover College. Here you will find resources regarding the use of R and RStudio, as well as details about our lab assignments.
This site provides resources for both instructors and students who want to learn how to analyze data with R and RStudio. We have built on the work of Project MOSAIC and tidyverse to offer a small and coherent set of instructions. Our emphasis has been on gradually building the student’s ability to analyze data with RStudio and to generate reports using RMarkdown.
Our intent has not been to introduce students to the R programming language as a whole. We instead focus on giving students the ability to perform basic statistical work within the R framework while avoiding the true complexity of learning how to code. After working through our materials, students will have become comfortable with the R environment in general, and will be ready for more advanced R work in the future.
New users: We recommend printing out the Basic Cheatsheet and working through the first few labs.
A Basic Cheatsheet for basic R and RStudio functionality. As you work through the various material, you may want to have a printed copy of the cheatsheet as well as having it open in a browser tab.
We are working on a second, more advanced, cheatsheet as well.
RMarkdown is used to generate reports, like this sample report which was produced from this source file.
Here is an R Markdown Cheatsheet that describes the markup syntax more.