1. सीखें
  2. /
  3. पाठ्यक्रम
  4. /
  5. Multivariate Probability Distributions in R

Connected

अभ्यास

Calculating the correlation matrix

A correlation matrix is a generalization of the concept of correlation between two variables. If you are looking at a large number of variables, it can also be useful to visualize the correlation matrix to understand the dependence of the variables on each other.

निर्देश

100 XP
  • Find the correlation matrix of the Alcohol, Malic, Ash, and Alcalinity variables from the wine data.
  • Round the values of the correlation matrix to two decimal places.
  • Use the corrplot() function to visualize the correlation matrix.