Description Usage Arguments Value Examples
Creates a a data set consisting of all variables according to the matching results
1 |
data |
list of data frames |
files |
list of files which contain the actual matches |
full |
logical: return full data set (non-matching are observations are filels with NA) or just matched obs, defaults to |
duplicates.ok |
logical: Are duplicates ok, defaults ton |
... |
further parameters given to |
a data frame with merged data
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | set.seed(0)
# create two data sets where the second consists of
# 200 obs. only in t1, 200 obs. in t1 and t2 and
# 100 obs. only in t2
n <- list(c(200, 1), c(200, 1, 2), c(100, 2))
x <- generateTestData(n)
#
match <- findMatch(x, c('code', 'code'))
head(match)
## Not run:
exportMatch(match, 'match.xlsx')
# creates an error since we have duplicate matches
data <- makeMerge(x, 'match.xlsx')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.