Assignment 2 - Airline Pricing Analysis

Sameer Mathur

Questions based on Part 3: Correlations

Q3a. Write R code to generate the correlation matrix for the given continuous variables {"Price", "AdvancedBookingDays", "FlyingMinutes", "Capacity", "SeatPitch", "SeatWidth"}

Q3b. Write R code to generate the correlation matrix with their significance values for the given continuous variables {"Price", "AdvancedBookingDays", "FlyingMinutes", "Capacity", "SeatPitch", "SeatWidth"}

Q3c. Write R code to visualize Q3b.

Q3c. Write R code to generate the following visual.

plot of chunk unnamed-chunk-6