如果我有多个数据帧(超过3个),如何将它们合并为一个数据帧?
X <- c(letters[1:5])
A <- c(1:5)
B <- c(101:105)
frameA <- data.frame(X,A,B)
A <- c(2:6)
B <- c(102:106)
frameB <- data.frame(X,A,B)
A <- c(3:7)
B <- c(103:107)
frameC <- data.frame(X,A,B)
library(dplyr)
full_join(frameA,frameB, by ="X")
full_join(frameA,frameB,frameC, by = 'X') #does not include frameC