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.
The more fireplaces a home has the more expensive it is. All the factors in red have a positive correclation with home price.
The factors in dark red or with a correlation factor over .6 have a strong positive correlation with home price. Such as bathrooms.
Factors in blue or with a negatice correlation factor are negativly correlated with home price. Only age has a negative correlation with home price.
There are no factors that have strong negative correlation with home price.
Living area and number of rooms has the highest positive correlation coefficient with a factor of .73. The strongest negaitve correlation coeeficitent is bathrooms and age.
Hint: The CPS85 data set is from the mosaicData package. Explain wage instead of home price.
1. experience,age,education 2. none have strong positive correlation 3. No factors have negative correlation with wage 4. No factors have strong negative correlation 5. highest positive correlation coefficient: age and experience. Highest negative correlation coefficient: education and experience. 6. correlation coefficient closest to zero: wage and experience. ## Q8 Hide the messages, the code and its results on the webpage. Hint: Use
message, echo and results in the chunk options. Refer to the RMarkdown Reference Guide.