当我做一个left_join时,我想保留两个join列。我以为我可以使用KEEP = TRUE做到这一点。但这是行不通的。我会误会KEEP吗?
table_one <- tibble(a = 1:3,
b = 1:3)
table_two <- tibble(c = 1:3,
d = 1:3)
left_join(table_one, table_two, by = c('a' = 'c'), keep = TRUE)
# A tibble: 3 x 3
a b d
<int> <int> <int>
1 1 1 1
2 2 2 2
3 3 3 3
c列在哪里?