orderLH {sequoia} | R Documentation |
Order Lifehistory Data
Description
Order lifehistory data to match order of IDs in genotype data, filling in gaps with missing values.
Usage
orderLH(LH = NULL, gID = NULL)
Arguments
LH |
dataframe with lifehistory information:
|
gID |
character vector with IDs in genotype data, in order of occurrence. |
Value
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.
[Package sequoia version 2.11.2 Index]