I'm currently using corrplot() from the corrplot package in R and I've stumbled across two problems. For simplicity, I'll use the same notation as the help/introduction page for corrplot.
I'd like to inscribe either my p-value or how significant the test was (or both!) in all cells, not just the insignificant ones.
I'd like these inscriptions only in the upper triangular.
To address 2) first, I've been able to use this, but if feels kind of hacky:
corrplot(M, type="upper", p.mat = res1[[1]], insig="p-value", tl.pos="n")
corrplot(M, type="lower", add=T, tl.pos="d", cl.pos="n"))
However I haven't been able to figure out number 1. Any suggestions would be helpful!


sig.level=0to the first plot - user20650"<0.0001"or similar? I think this will be easier to do by adding a format to the pvalue matrix and then plotting usingtext. - user20650