Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using insig and p.mat causes an error. #246

Closed
Sumidu opened this issue Feb 1, 2022 · 0 comments
Closed

Using insig and p.mat causes an error. #246

Sumidu opened this issue Feb 1, 2022 · 0 comments

Comments

@Sumidu
Copy link

Sumidu commented Feb 1, 2022

When I use insig and p.mat at the same time, I get an error. The created plot works fine though.

I have added a draft pull request, that has a test-case demonstrating the problem.

The following code produces an error, but the desired plot.

pvalues <- corrplot::cor.mtest(mtcars, conf.level = 0.95)
res <- stats::cor(mtcars, use = "pairwise.complete.obs")

# This throws an error in cbind(corrpos, pNew)
corrplot::corrplot(res,  method = "color", insig = "n", addCoef.col = "black", p.mat = pvalues$p)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant