Convert dataframe Pairs
into a list of integer vectors.
Called only by CalcPairLL
.
FortifyPairs(Pairs, gID, Renamed, LH)
A named list, with elements ID - Sex - AgeDif - focal. The first two are per individual and thus each have length 2*nrow(Pairs), while the last two have length 1*nrow(Pairs).
dataframe with columns ID1 - ID2 - Sex1 - Sex2 - AgeDif - focal - k.
character vector with IDs of genotyped individuals.
length-2 list (dams, sires) each with a 2-column dataframe.
matching character IDs to negative numbers, for dummified individuals.
Element of the list returned by PedToNum
.
lifehistory dataframe, ID - Sex - BirthYear.