DeVry University Airport Departure Delays R Programming Report

User Generated

QbzvavpZ145_

Programming

DeVry University

Description

9.2Airport Departure Delays: Part 1

Analyzing Flight Data

In this activity, you will analyze a real-world large data set involving flight data and use the advanced features of ggplot to produce graphs of this data.

In previous modules, the data used in your projects came from small built-in R data sets or were generated by using probability distributions. We are now ready to use real-world, not manufactured, data. The data set nycflights13 contains data collected on domestic flights out of New York City in 2013. It contains 336,776 records, each with 19 variables. This is a big data set.

Analyze the nycflights13 data to determine which day of the week has the longest average delay time. Do the delay times vary by airport? What about weekday?

If you have not done so already, use the directions given in Chapter 13 of this module's readings to install the nycflights13 data set and the R tidyverse package.

Execute the R code necessary to recreate the delay, weekday, and airport graph in Chapter 13, Figure 13-4, page 285 of your readings. You will need to start at the beginning of the chapter to prepare your data for producing the plot. Document your code and the histogram in an HTML R Markdown document and submit the HTML file for this assignment.

9.3Airport Departure Delays: Part 2

Facet Plots

In this activity, you will continue analyzing the airport delay data and visualize the results using a facet plot. You will see that using different types of plots on the same data can provide different perspectives in your analysis.

You will gain more experience using the ggplot function to develop your graph. Hopefully, you will have a better appreciation for the power of the ggplot function after completing this module's assignments.

Execute the R code necessary to recreate the facet plot in Chapter 13, Figure 13-5, page 287 of your readings. Document your code and the histogram in an HTML R Markdown document and submit the HTML file for this assignment.

User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer

Hey,Please find the Part 1 and Part 2 files attached in zip format. The final answer is submitted in both RMarkdown an...


Anonymous
Really helped me to better understand my coursework. Super recommended.

Studypool
4.7
Indeed
4.5
Sitejabber
4.4

Related Tags