| pair | R Documentation |
Generates all combinations of records from x and y.
pair(x, y, deduplication = FALSE, add_xy = TRUE)
x |
first |
y |
second |
deduplication |
generate pairs from only |
add_xy |
add |
Generating (all) pairs of the records of two data sets, is usually the first step when linking the two data sets.
A data.table with two columns,
.x and .y, is returned. Columns .x and .y are
row numbers from data.frames .x and .y respectively.
pair_blocking and pair_minsim are other methods
to generate pairs.
data("linkexample1", "linkexample2")
pairs <- pair(linkexample1, linkexample2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.