FES 720 Introduction to R

LAB: Plotting More Data

This is the lab associated with the lecture and lesson on Plotting More Data in R.

Please upload your final completed lab on the Assignments page in Canvas, as per the instructions below.

You are welcome and expected to ask for help from the instructors if you get stuck: Please also come to the R Bootcamp on Friday—there is coffee and snacks!


Questions

Using the 2016 New Haven Road Race data…

dat <- read.table('http://www.simonqueenborough.info/R/data/race-data-full.txt', header = TRUE, sep  = '\t')
dat <- na.omit(dat) 
dat2 <- droplevels(dat)

1. Plot Net time as a function of Place.

2. Within a 1 row x 3 column array, plot the following: Pace versus place, Net time versus sex, Pace versus age class


How to write up your answers

Please check the help page for a reminder, if you need to.


Updated: 2017-11-10