mergeList: merge a set of dataframes

Description Usage Arguments Examples

Description

an improved version of 'merge', which can merge a set of dataframes\n it can rename the varaibles with same names automatically except 'by' variables

Usage

1
mergeList(objs, by = NULL, all = FALSE, all.x = FALSE, all.y = FALSE)

Arguments

objs

character vector, names of dataframes

by

by variable

all,all.x,all.y

the same with merge's

Examples

1
2
3
4
5
6
7
data(iris)
iris <- cbind(id = 1:20, iris[1:20, ])
x1 <- iris
x2 <- iris
x3 <- iris
x4 <- iris
mergeList(c('x1', 'x2', 'x3', 'x4'), by = 'id')

evanwang1990/process documentation built on May 16, 2019, 9:38 a.m.