In this exercise you will learn to visualize the pairwise relationships between a set of quantitative variables. To this end, you will make your own note of 8.1 Correlation plots from Data Visualization with R.
Living area, rooms, bathrooms, landvalue, pctCollege and lot size all have postive correlations with home price. Not all of them are strong through.
The living area has the strongest positive correlation with home price at 0.71. The second strongest is bathrooms at 0.6. Thirdly, landvalue also has a strong positive correlation with price which is demonstrated on the chart as 0.58.
Age has a negative correalation with home price at -0.19, meaning that the older the house the cheaper the price, however this is a weak correlation.
Age is the only factor that has a negative correlation with price.
Rooms and livingArea are the two variables that have the gretaest negative.
Hint: The CPS85 data set is from the mosaicData package. Explain wage instead of home rice.
Hint: Use message, echo and results in the chunk options. Refer to the RMarkdown Reference Guide.