I'm looking for a dplyr solution to merge two df (or tibble) in dplyr, when they have the same langth, but different column names.
The solutions I found so far relate to a common column name, joined through the by = ""
field.
The structure:
df1
A B
1 4
2 2
df2
C D
4 1
3 4
Desired output:
df
A B C D
1 4 4 1
2 2 3 4