Description Usage Arguments Value Examples
Increases each Levenshtein distances by one if variable entries do not match
1 | allIdentical(match, data, ...)
|
match |
match structure |
data |
list of data frames |
... |
named list of variables (one for each data frame) |
returns a modified match
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | set.seed(0)
# create two data sets which 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'))
summary(match)
match <- allIdentical(match, x, sex=c('sex', 'sex'))
summary(match)
## Not run:
# with %>% operator
library('magrittr')
match <- findMatch(x, c('code', 'code')) %>%
allIdentical(x, sex=c('sex', 'sex'))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.