taiyun / corrplot

A visual exploratory tool on correlation matrix
https://github.com/taiyun/corrplot
Other
316 stars 86 forks source link

Add method to mark significant correlations #93

Closed michaellevy closed 7 years ago

codecov-io commented 7 years ago

Codecov Report

Merging #93 into master will increase coverage by 1.25%. The diff coverage is 62.5%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #93      +/-   ##
==========================================
+ Coverage   89.98%   91.23%   +1.25%     
==========================================
  Files           7        7              
  Lines         579      605      +26     
==========================================
+ Hits          521      552      +31     
+ Misses         58       53       -5
Impacted Files Coverage Δ
R/corrplot.R 89.57% <62.5%> (+1.66%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a8c7d09...473baa8. Read the comment docs.

vsimko commented 7 years ago

Hi @michaellevy , thanks for your contribution. Is this pull request connected to an existing issue ? If not, add the issue first and then mention it here in the pull request.

michaellevy commented 7 years ago

This addresses issue #99. For example:

M <- Hmisc::rcorr(as.matrix(mtcars))
corrplot(M$r, p.mat = M$P, insig = "label_sig")
corrplot(M$r, p.mat = M$P, insig = "label_sig", sig.level = c(.001, .01, .05))