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

Change labels for stat_cor #228

Closed
andhamel opened this issue Dec 2, 2019 · 1 comment
Closed

Change labels for stat_cor #228

andhamel opened this issue Dec 2, 2019 · 1 comment

Comments

@andhamel
Copy link

andhamel commented Dec 2, 2019

When adding the R2,R, and p-value using stat_cor(method="Pearson"), the default is

R2="",R="",pval=""

I would like to change it so that it is in this format:

R2="",rho="",pval=""

Is that possible to do?

@kassambara
Copy link
Owner

New arguments cor.coef.name added in the function stat_cor(). Can be one of "R" (pearson coef), "rho" (spearman coef) and "tau" (kendall coef). Uppercase and lowercase are allowed.

Thanks

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

2 participants