merge2 | R Documentation |
Use merge
to join n
data frames.
merge2(x, ...)
x |
list of data frames or objects to be coerced to data frames |
... |
additional arguments passed to |
join_all
a <- data.frame(id = 1:10, a = rnorm(10))
b <- data.frame(id = 4:6, b = rnorm(3))
c <- data.frame(id = 4:14, c = rpois(11, 1))
d <- matrix(c(1:5, rnorm(5)), nrow = 5,
dimnames = list(NULL, c('id', 'd')))
merge2(list(a, b, c))
merge2(list(a, b, c), all = TRUE)
merge2(list(a, b, c, d), all = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.