x1 <- list(a = 1, b = 2, c = 3)
list_c(x1)
x2 <- list(
a = data.frame(x = 1:2),
b = data.frame(y = "a")
)
list_rbind(x2)
list_rbind(x2, names_to = "id")
list_rbind(unname(x2), names_to = "id")
list_cbind(x2)
Run the code above in your browser using DataLab