View source: R/CheckLifeHist.R
orderLH | R Documentation |
Order lifehistory data to match order of IDs in genotype data, filling in gaps with missing values.
orderLH(LH = NULL, gID = NULL)
LH |
dataframe with lifehistory information:
|
gID |
character vector with IDs in genotype data, in order of occurrence. |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.