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

Size of correlation coefficients #63

Closed
donnekgit opened this issue May 2, 2016 · 2 comments
Closed

Size of correlation coefficients #63

donnekgit opened this issue May 2, 2016 · 2 comments
Assignees
Labels

Comments

@donnekgit
Copy link

Thanks for a very versatile package!

I'm trying to adjust the size of the displayed correlation coefficient. On this issue:
#36
it is suggested to use number.cex=0.5
I have v0.73 installed from the repos, and when I add this to a basic call, as suggested there:
corrplot(cor(mtcars), method='number', number.cex=0.5)
I get the following error:

Warning messages:
1: "number.cex" is not a graphical parameter 
2: "number.cex" is not a graphical parameter 
3: "number.cex" is not a graphical parameter 
4: "number.cex" is not a graphical parameter 
5: "number.cex" is not a graphical parameter 
6: "number.cex" is not a graphical parameter 
7: In text.default(pos.xlabel[, 1], pos.xlabel[, 2], newcolnames, srt = tl.srt,  :
  "number.cex" is not a graphical parameter
8: In text.default(pos.ylabel[, 1], pos.ylabel[, 2], newrownames, col = tl.col,  :
  "number.cex" is not a graphical parameter
9: In title(title, ...) : "number.cex" is not a graphical parameter

and there is no change to the displayed text size.

Also, if I remove the repo version and try to install the developer version:
devtools::install_github("taiyun/corrplot")
I get the following error message:

Downloading github repo taiyun/corrplot@master
Error in system(full, intern = quiet, ignore.stderr = quiet, ...) : 
  error in running command

Any suggestions as to what to do about these?

Thanks.

@vsimko
Copy link
Collaborator

vsimko commented May 2, 2016

the latest CRAN version is v0.77 can you reinstall corrplot from CRAN ?

@vsimko vsimko self-assigned this May 2, 2016
@vsimko vsimko added the bug label May 2, 2016
@donnekgit
Copy link
Author

Thanks for this. Sorry - I was using a repo that was obviously out of date. I've rejigged that and on v0.77 number.cex=0.5works fine.

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