1

Is there a way to add p value for the correlation plot using "ggcorr" from the package "GGally"?

I only managed to add the pearson r value but not the p-value.

install.packages("ggcorr")
library("ggcorr")
ggcorr(iris[1:4], method = c("everything", "pearson"), label=TRUE)

Thanks!

Quinten
  • 35,235
  • 5
  • 20
  • 53
maya zadok
  • 23
  • 4

0 Answers0