head: head/tail

Description Usage Arguments Value Examples

Description

head shows the first n possible matches and tail shows the last n possible matches.

Usage

1
2
3
4
5
## S3 method for class 'findMatch'
head(x, n = 6L, ...)

## S3 method for class 'findMatch'
tail(x, n = 6L, ...)

Arguments

x

a list structure with possibly matched observations

n

number of lines to show, defaults to 6

...

further arguments (unused)

Value

the first/last n possible matches as data frame

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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 <- findDuplicates(x[[1]], 'code')
head(match)

sigbertklinke/findMatch documentation built on July 12, 2019, 9:22 a.m.