assignCoupleIds | R Documentation |
This subfunction assigns a unique couple ID to each mated pair in the generation. Unmated individuals are assigned NA for their couple ID.
assignCoupleIds(df_Ngen)
df_Ngen |
The dataframe for the current generation, including columns for individual IDs and spouse IDs. |
The input dataframe augmented with a 'coupleId' column, where each mated pair has a unique identifier.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.