How to use Cor function in R Studio. How to draw correlation matrix using Pearson, Kendell and Spearman methods. How to draw different shapes of correlation matrix.