I have 3 dfs with different length. I would like to bind thme together by id. there is no row connection among those 3 dfs. I did not have a clue how to do it. Could anyone guide me on this? Thanks.
df1<-structure(list(id = c("A0003", "A0004", "A0005"), Gender = c("F",
"M", "M")), row.names = c(NA, -3L), class = c("tbl_df", "tbl",
"data.frame"))
df2<-structure(list(id = c("A0003", "A0003", "A0003", "A0004", "A0004",
"A0005", "A0005", "A0005", "A0005", "A0005"), Score = c(96, 97,
88, 76, 88, 98, 68, 89, 91, 35)), row.names = c(NA, -10L), class = c("tbl_df",
"tbl", "data.frame"))
df3<-structure(list(id = c("A0003", "A0003", "A0004", "A0005", "A0005",
"A0005"), grade = c("A", "B", "B", "A", "B", "F")), row.names = c(NA,
-6L), class = c("tbl_df", "tbl", "data.frame"))
