For a given DVI problem, compute the matrix consisting of pairwise likelihood
ratios \(LR_{i,j}\) comparing \(V_i = M_j\) to the null. The output may
be reduced by specifying arguments limit or nkeep.
pairwiseLR(
dvi,
pairings = NULL,
ignoreSex = FALSE,
limit = 0,
nkeep = NULL,
check = TRUE,
numCores = 1,
verbose = FALSE
)A list with 3 elements:
LRmatrix: A matrix containing the pairwise LR values.
LRlist: A list of numerical vectors, containing the pairwise LRs in
list format.
pairings: A reduced version of the input pairings, keeping only
entries with corresponding LR >= limit. For the default case limit = 0
a strict inequality is used, i.e., LR > 0.
A dviData object, typically created with dviData().
A list of possible pairings for each victim. If NULL, all sex-consistent pairings are used.
A logical.
A nonnegative number controlling the pairings slot of the
output: Only pairings with LR greater or equal to limit are kept. If zero
(default), pairings with LR > 0 are kept.
An integer, or NULL. If given, only the nkeep most likely
pairings are kept for each victim.
A logical, indicating if the input data should be checked for consistency.
An integer; the number of cores used in parallelisation. Default: 1.
A logical.
pairwiseLR(example1, verbose = TRUE)
Run the code above in your browser using DataLab