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

Error with correlation plot using insig argument when all values are significant #15

Closed
jhernand1512 opened this issue Jul 20, 2015 · 0 comments
Labels

Comments

@jhernand1512
Copy link

Please take a look to this error when you try to plot a correlation matrix with all values lower or equal to significant level.
Thank's in advance
Juan

require(Hmisc, quietly = TRUE)
require(corrplot)
p=rcorr(as.matrix(attitude[,1:3]))$P
cor_=cor(attitude[,1:3])
corrplot.mixed(cor_, upper='number',lower='ellipse', p.mat=p,
insig='blank')

Error in symbols(pos.pNew[, 1][ind.p], pos.pNew[, 2][ind.p], inches = FALSE

ind.p has length zero because there is no value greater than significant level.

@taiyun taiyun closed this as completed in f6d7563 Dec 29, 2015
@vsimko vsimko added the bug label Mar 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants