I have this tibble:
tibble(Cor = c("Linear", "Rank"),
`a,b` = c("x1","x2"),
`b,c` = c("x3","x4")
)
I want to transpose it into this tibble:
tibble(Cor = c("a,b","b,c"),
Linear = c("x1","x3"),
Rank = c("x2","x4")
)
Is there a tidyverse simple command to do so?