Answered step by step
Verified Expert Solution
Question
1 Approved Answer
using r language flights
using r language
flights <- data.frame(Time =c("12:25","12:45","12:56","13:02","13:10"), FlightDuration =c(125,195,135,145,55),DestinationCity = c("At;anta","Los Angeles","Miami", "Chicago", "Dallas"), Airline =c("Delta","SouthWest","Spirit","United","American"), Code =c('DL7890','WN892',"NK255","UA1234","AA5040"), Gate =c(11,15,22,4,8), Remarks = c("On Time", "Delayed", "On Time","Cancelled", "Delayed"))
Using select and filter functions, print the time,destinationcity, and flight codes of all delayed or cancelled flights
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