pairwiseLR {dvir} | R Documentation |
Pairwise LR matrix
Description
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
.
Usage
pairwiseLR(
dvi,
pairings = NULL,
ignoreSex = FALSE,
limit = 0,
nkeep = NULL,
check = TRUE,
numCores = 1,
verbose = FALSE
)
Arguments
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. |
Value
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 inputpairings
, keeping only entries with corresponding LR >=limit
. For the default caselimit = 0
a strict inequality is used, i.e., LR > 0.
Examples
pairwiseLR(example1, verbose = TRUE)