Cor-relations is produced by cor() and covariances is produced by cov() function.