pairwiseLR {dvir} | R Documentation |
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
)
dvi |
A |
pairings |
A list of possible pairings for each victim. If NULL, all sex-consistent pairings are used. |
ignoreSex |
A logical. |
limit |
A nonnegative number controlling the |
nkeep |
An integer, or NULL. If given, only the |
check |
A logical, indicating if the input data should be checked for consistency. |
numCores |
An integer; the number of cores used in parallelisation. Default: 1. |
verbose |
A logical. |
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.
pairwiseLR(example1, verbose = TRUE)