alllinks {bstrl}R Documentation

Description

Return a list of all linked pairs (directly or transitively)

Usage

alllinks(sl, idx = c("global", "local"))

Arguments

sl

A streaming link object

idx

Whether to use global (default) or local indices

Value

A list with two (global) or four (local) members, defining linked pairs of records. If 'global' indices, these members are called 'idx1' and 'idx2', where corresponding entries are the global indices of matched pairs of records. If 'local' indices, these members are called 'file1', 'record1', 'file2', and 'record2', where corresponding entries are the file number and record number within the file of matched pairs of records.

Examples

data(geco_small_result)
samples <- extractlinks(geco_small_result)
# List all linked pairs of records in the 42nd posterior sample
alllinks(samples[[42]], idx="global")
alllinks(samples[[42]], idx="local")


[Package bstrl version 1.0.2 Index]