excludePairing {dvir} | R Documentation |
Disallow certain pairings by removing them from the list dvi$pairings
of
candidate pairings for a given victim sample.
excludePairing(dvi, victim, missing)
dvi |
A |
victim |
The name of a single victim sample. |
missing |
The name(s) of one or several missing individuals. |
A dviData
object.
# Disallow V1 = M1 in the `example2` dataset:
ex = excludePairing(example2, victim = "V1", missing = "M1")
jointDVI(ex, verbose = FALSE)
# Compare with original
jointDVI(example2, verbose = FALSE)
# The only difference is in the `pairings` slot:
ex$pairings
example2$pairings