| subset {RecordLinkage} | R Documentation |
Extracts a subset of a "RecLinkData" or
"RecLinkResult" object.
## S3 method for class 'RecLinkData' x[i] ## S3 method for class 'RecLinkResult' x[i] ## S3 method for class 'RLBigData' x[i] ## S3 method for class 'RLResult' x[i]
x |
The object which to index. |
i |
Indeces of pairs to include in the subset. |
A copy of x with only the pairs with indices specified by x.
Andreas Borg, Murat Sariyar
## Samples a subset of pairs data(RLdata500) rpairs <- compare.dedup(RLdata500, identity = identity.RLdata500, blockfld = list(1,3,5,6,7)) nPairs <- nrow(rpairs$pairs) s <- sample(nPairs, nPairs / 2) samp <- rpairs[s]