Created
December 5, 2018 19:58
-
-
Save stephenturner/fc7eb9dc024a37cbf3368b529cae7deb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
have <- tibble::tribble( | |
~id1, ~id2, ~value, | |
"a", "b", 1L, | |
"c", "a", 2L, | |
"c", "b", 3L | |
) | |
have | |
want <- tibble::tribble( | |
~id1, ~id2, ~value, | |
"a", "b", 1L, | |
"a", "c", 2L, | |
"b", "c", 3L | |
) | |
want |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment