The following code generates a correlation matrix. I would like to either edit the generated matrix (don't know how to do this but I am guessing it very easy) or create my own matrix like this one, but not using the cor function, but using a list of correlations and variables I already have. Suggestions would be appreciated? Thanks.
Code:
M<-cor(mtcars)
head(round(M,2))