Add a Directory HW6

Add a directory HW6 to your repository. This is where you will put the rest of your work for this assignment.

Be sure to commit and push your changes.

1. Fleet City Gas Mileage

For the EPA fuel efficiency data data used in HW4:

2. Arrival Delays and Cancellations

Using the flights data set in the nycflights13 package examine when you should leave if you want to make it to your destination on time:

3. Departure Delays and Wind Speed

This problem uses the data in the nycflights13 package.

The weather table provides hourly weather data for the three NYC airports for the year 2013. In this question you will look at the relationship between wind speed and departure delays.

Submit Your Work

Write up your work in an Rmarkdown document called hw6.Rmd in your HW6 folder, and commit it to your local repository. You can commit the hw6.html file as well but you do not need to.

Submit your work by pushing your local repository changes to your remote repository.

Make Sure Your Work Is Reproducible

One of the goals of using git, GitHub, and Rmarkdown is for you to practice creating a framework that you can hand to someone else to reproduce your analysis. This means, among other things, that

If you are working on Windows or a Mac a good test is to go to our Linux systems, check out your repository, and check that your hw6.Rmd file can be rendered successfully to produce hw6.html. You can do this using the RStudio menus or from the R command line with


Make sure your working directory is HW6 for this.

You can also run this command in a shell in your HW6 directory:

Rscript -e 'rmarkdown::render("hw6.Rmd")'

Make sure you use the right combination of single and double quotes.