add_from_x | R Documentation |
Add variables from data sets to pairs
add_from_x(pairs, ...) add_from_y(pairs, ...)
pairs |
a |
... |
a set of option of the form |
A pairs
object which contains all column of the original pairs
with the new columns added to it. An error is generated when it is attempted
to add variables that already exist in pairs.
data("linkexample1", "linkexample2") pairs <- pair_blocking(linkexample1, linkexample2, "postcode") pairs <- compare_pairs(pairs, c("lastname", "firstname", "address", "sex")) pairs <- add_from_x(pairs, id_x = "id") pairs <- add_from_y(pairs, id_y = "id") pairs$true_match <- pairs$id_x == pairs$id_y
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.