We show how to compute covariance and correlation matrices directly and using R functions
click here for the R codeĀ