Я думаю, что функция full_join
из пакета dplyr
может помочь вам:
a <- data.frame(id = c("a","b","c","d"),time_1 = 1:4)
b <- data.frame(id = c("a","c","d","e"),time_2 = c(1,3,4,2))
c <- data.frame(id = c("a","b","d","e"),time_3 = c(1,3,4,2))
require(dplyr)
d <- full_join(a,b,by = "id")
full_join(d,c)