Entering edit mode
2.9 years ago
jansha.1997
•
0
library(corrplot)
png(height=1200, width=1500, pointsize=15, file="name4.png")
corrplot(M , addCoef.col="black" , number.cex = 1.5, tl.cex = 2 , order = "AOE" )
corrplot(cor_1 , method = "circle", p.mat = p.mat,sig.level = 0.05 )
This is my code for creating a png file of correlation plot. But every time I create it, the order of variables shuffles. Is there a way in which I can keep the order of variables in the core plot unchanging?
set the
seed
and check if order is maintained. Post some data next time to reproduce the issue.