Question: I need help with these R coding problems data frame: library(nycflights13) flights
I need help with these R coding problems data frame: library(nycflights13) flights <- flights head(flights)
Q2-1. Filter `flights` whose `dep_delay` or `arr_delay` is greater than 60, and save it as a new data `major_delay`
Q2-2. Use `major_delay` data frame to create a frequency table of delayed flights by carrier, and save it as a new data frame `carrier_table` [Hint: `count()`] ```{r label='q2-2'}
Q2-3. Use `carrier_table` to draw a pie chart to examine the most frequently delayed carrier [Hint: set `x`="" and `y`=n] ```{r label='q2-3'}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
