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

Replace stats::cor with psych:corr to allow for p-correction (and some other formatting issues) #877

Open
wants to merge 17 commits into
base: master
Choose a base branch
from

Conversation

cschwarz007
Copy link

I had the need to create a correlation table, but with corrected p-values (given alpha-inflation). I hence changed the correlation function to use the psych (rather than stats) package. At the same time, I introduced some flexibility by allowing to choose whether to show leading zeros for both p-values and correlation measures (which in psychology should not have a leading zero as values can only be -1..1).

@strengejacke
Copy link
Owner

Thanks! Do you have a screenshot of an example output? Then this could be merged!

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

Successfully merging this pull request may close these issues.

2 participants