-
Notifications
You must be signed in to change notification settings - Fork 56
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
Question about reverse of stretch() #65
Comments
No, and this would require some work to implement. It would be something along the lines of Anither thing to consider is whether you are intending to apply it to a long format structure created without corrr, or a long data frame created with Either way, can you give an example of when you would use such a function? |
Hi, thank you for writing this super useful package ! I also have the same issue/question. I have a tibble with three columns containing my first variable, my second variable, and their estimated correlation (estimate coming from a For instance, let's consider the following tibble:
I would like to be able to reshape this in a correlation matrix using the somehow reverse action of Ladislas |
Added a new
|
Thank you for the follow-up! I am not sure it does the inverse operation of stretch() however... do you know what are these NA in the resulting tibble? Should not the NA be on the diagonal? Plus, the correlation between X and Y is not the same as the correlation between Y and X... |
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue. |
I was wondering if there is a function in this package which can convert the long format of correlation data to a square correlation matrix?
In other words, the inverse/opposite of stretch().
Thanks.
The text was updated successfully, but these errors were encountered: