Question: 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
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
