append-methods: Concatenate comparison patterns or classification results

%append%-methodsR Documentation

Concatenate comparison patterns or classification results

Description

Combines two object of class "RecLinkData" or "RecLinkResult" by concatenating comparison patterns and, if available, weights and classification results.

Usage


x %append% y

## S4 method for signature 'RecLinkData,RecLinkData'
x %append% y

## S4 method for signature 'RecLinkResult,RecLinkResult'
x %append% y

Arguments

x, y

The objects to combine.

Value

An object with class corresponding to the input objects which represents the concatenation of x and y. Its component pairs is rbind(x$pairs, y$pairs). If both x and y have weights stored in component Wdata, the result gets c(x$Wdata, y$Wdata) as component Wdata. For the "RecLinkResult" method, the result also includes the concatenation of the predicted classes in x and y as component prediction.

Note

The methods perform only a minimum of integrity checks, so the user has to make sure that the underlying data, the formats of comparison patterns (e.g. excluded columns) and the type of weights (method and parameters of weight calculation) match.

Author(s)

Andreas Borg, Murat Sariyar

Examples

data(RLdata500)
rpairs1=compare.dedup(RLdata500, blockfld=1, identity = identity.RLdata500)
rpairs2=compare.dedup(RLdata500, blockfld=3, identity = identity.RLdata500)

summary(rpairs1)
summary(rpairs2)
summary(rpairs1 %append% rpairs2)

RecordLinkage documentation built on Nov. 10, 2022, 5:42 p.m.