I use the following method to store all my correlations in a matrix:
corrs <- cor(dataset, use=\"pairwise.complete.obs\")
But now I\'d l
Just as in your other question, use the function (round) you found :)
round
corrs <- round(cor(dataset, use="pairwise.complete.obs"), 2)
For example:
> round(cor(cars),2) speed dist speed 1.00 0.81 dist 0.81 1.00