Order lifehistory data to match order of IDs in genotype data, filling in gaps with missing values.
orderLH(LH = NULL, gID = NULL)
A dataframe with the same 5 columns, but with individuals in exactly the same order as gID, including padding with 'empty' rows if an individual in gID was not in the input-LH. Missing values are recoded to 3 for the 'Sex' column, and -999 for the birth year columns.
dataframe with lifehistory information:
max. 30 characters long,
1 = females, 2 = males, other numbers = unknown,
(or hatching year) Use negative numbers to denote missing values.
minimum birth year (optional)
maximum birth year (optional)
character vector with IDs in genotype data, in order of occurrence.