logo Hurry, Grab up to 30% discount on the entire course
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Ivan BlankBusiness
(5/5)

708 Answers

Hire Me
expert
Mitch BennLaw
(5/5)

520 Answers

Hire Me
expert
Jayden StewarttHistory
(4/5)

941 Answers

Hire Me
expert
Seth PowellResume writing
(5/5)

829 Answers

Hire Me
R Programming

convert the departure and arrival delays columns from minutes into hours

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

use r markdown • Dataset 1: Tornadoes • Dataset 2: Airline 1. Data manipulation with Tornadoes. Use the Tornadoes data. (a) How many tornadoes occurred in WA (Washington) or MS (Mississippi)? (b) How many tornadoes occurred in WA after 2012? (c) Get all tornadoes that occurred in WA in 2012, 2013, and 2014. (d) Return the ’mo’ (month), ’yr’ (year), and ’f’ (F-scale) for all tornadoes that occurred in HI (Hawaii). (e) Arrange the tornadoes by date and time. What state had the most recent tornado? (f) Get the count of tornadoes by months. 2. Data manipulation with Airline. (Use the Airline data) (a) Subset: Find the carrier (UniqueCarrier), the flight number (FlightNum), and origin (origin) of all the flights that: i. Departed (DepTime) after 10pm and flew (Dest) to Nashville (’BNA’). ii. departed (DepTime) after 10pm, but Originated (Origin) from Nashville ’BNA’ or landed (Dest) in Memphis ’MEM’. If you don’t get a list of four flight, something is wrong. iii. were delayed (ArrDelay) by more two hours. Note that a negative delay is a flight that arrived early. iv. arrived (ArrDelay) more than two hours late, but didn’t leave late (DepDelay). (b) Arrange: make use of minus sign in front of the function to reverse order() and the function head() to get the relevant part: (Use the Airline data) i. Sort flights to find the 5 most delayed (DepDelay) flights ii. Sort flights to find the 5 least delayed (DepDelay) flights iii. Sort flights by destination (Dest) and break ties by descending arrival delay (ArrDelay) Bonus: Experts Only. 1. Transform using the Airline data: create a new data frame with only the columns ’DepDelay’, ’ArrDelay’, ’Origin’, ’Dest’, AirTime’, and ’Distance’. In addition keep only the observation for flights that were delayed (DepDelay) by more than 1 hour. (Use the Airline data) (a) Add a new column reporting departure delays minus the mean departure delay to the new data frame (b) Convert the departure and arrival delays columns from minutes into hours (c) Add a column with the average flight speed (in mph) (d) Report your new table using the function summary()

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme