EDMS451 R Tutorials

This webpage provides the R tutorial materials for EDMS451 taught by Yi Feng at University of Maryland, College Park.

Hello, EDMS 451 students. Please see below for a list of the R tutorial materials for this course. This page is updated regularly as we advance through the semester. Enjoy!

To get you started:

Before we get started, please make sure you have installed R or RStudio. Install the latest version of RStudio or R.

Important

Please make sure you have correctly set up your working directory to where your data are stored. To see your current working directory:

getwd()

To change your working directory, you can either use the setwd() function, or click the “Session –> Set Working Directory” button in the menu.

mypath <- "/Volumes/EDMS451/Spring 2022/Software Instructions")
setwd(mypath)

  1. R Basics
  2. One-sample t-test
  3. Paired samples t-test
  4. Independent samples t-test
  5. Correlation and Regression
  6. Chi-square test