Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Mutate the data frame so that it includes a new variable that contains the average speed, avg _ speed traveled by the plane for each
Mutate the data frame so that it includes a new variable that contains the average speed, avgspeed traveled by the plane for each flight in mph Hint: Average speed can be calculated as distance divided by number of hours of travel, and note that airtime is given in minutes.
Make a scatterplot of avgspeed vs distance. Describe the relationship between average speed and distance. Hint: Use geompoint
Replicate the following plot. Hint: The data frame plotted only contains flights from American Airlines, Delta Airlines, and United Airlines, and the points are colored by carrier. Once you replicate the plot, determine roughly what the cutoff point is for departure delays where you can still expect to have a reasonable chance to get to your destination on time.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started