Description Usage Arguments Value
The intended use of this is to update the marriage likelihoods after an individual has
been moved from one sibship to another. So, for example, if you moved an individual
from sibship 40 to sibship 291 (as subscripted in R) then you would want to run this
with bz_idx
equal to c(39, 290)
.
1 | update_marriage_likelihoods_in_place(S, PK, ML, bz_idx)
|
S |
a list of vectors that give the indices (base 0) of the individuals in the full sibling groups. |
PK |
per-kid marriage likelihoods. This must be of class |
ML |
the marriage likelihoods matrix to be modified |
bz_idx |
An integer vector holding the BASE-0 indices of the components of S that will be accessed and used to update ML. |
This doesn't return anything. It modifies ML in place via call be reference. Our goal here is to make updates without copying a lot of memory.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.